Espen wrote:

That did the trick J.

Manny thanks

*Fra:* Lucian Cristian [mailto:[EMAIL PROTECTED]
*Sendt:* 8. desember 2007 23:40
*Til:* [email protected]
*Emne:* Re: [qmailtoaster] QTP newmodel error.

Espen wrote:

[EMAIL PROTECTED] qtms-install]# sh cnt50-deps.sh
Loading "installonlyn" plugin
Setting up Remove Process
No Match for argument: sendmail
No Packages marked for removal
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras                    100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[EMAIL PROTECTED] qtms-install]#
-----Opprinnelig melding----- Fra: Lucian Cristian [mailto:[EMAIL PROTECTED] Sendt: 8. desember 2007 23:07
Til: [email protected] 
<mailto:[email protected]>
Emne: Re: [qmailtoaster] QTP newmodel error.
Espen wrote:
    Hi,

    I tried to search the list but didn’t find anything(No matches were found 
for  line 513).

    I have just reinstalled my server centos5 with all updates.

When I try to run qtp-newmodel I get this error
    "Issuing command: qtp-newmodel

    /usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'

    /usr/sbin/qtp-newmodel: line 513: `}'"

    Anny ideas ?

    qtp-whatami v0.2.4

    DISTRO=CentOS

    OSVER=5

    ARCH=i686

    BUILD_DIST=cnt50

    BUILD_DIR=/usr/src/redhat

    This machine's OS is supported, but this version/arch has not been tested.

    qmailtoaster-plus        current.noarch.rpm     11/25/2007 10:43

    ---------------------------------------------------------------------

         QmailToaster hosted by: VR Hosted <http://www.vr.org>

    ---------------------------------------------------------------------

    To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

    For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL 
PROTECTED]>

I tested it and it seems you should use this script: http://www.qmailtoaster.com/centos/cnt50/cnt50-deps.sh to resolv your dependencies
and do not forget to disable selinux too
---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
it seems that centos 4.5 counted the lines different than centos 5
you have to add a line at 514
like:

a4_5_check_deps(){
# let's check the ...
sleep 1
}


or

a4_5_check_deps(){
# let's check the ...
  echo "anything"
}

and save the newmodel file

I didn't encountered this error when I tested for qtp-buildsandbox, maybe new updates to centos messed something up

if you make a new install using qtp-newmodel maybe you will have to reinstall clamav, the file permission for logging are not set up correctly, I think is a install order issue, haven't spoke to Jake about this

Reply via email to