|
List Info
Thread: obmtool install failure on centOS 4.4
|
|
| obmtool install failure on centOS 4.4 |
  Germany |
2007-07-11 05:08:44 |
Hi,
I am still running kolab 2.0.3 on CentOS 4.4. The machine
runs on x86_64,
hence I am compiling in a VMWare instance running the i386
version of the
same distro and copy over the resulting RPMs.
I want to upgrade to 2.1, but the build fails right after
the OpenPkg
bootstrap when trying to build the first packages. Obviously
there is a
problem with file permissions.
The strange thing is I tried to rebuild kolab 2.0.3 for
reference and here
everything works flawlessly.
Any idea what is wrong with 2.1? Same thing happens if I try
an upgrade
instead of a fresh install.
Below are the relevant sections of the kolab-build.log, cut
to reasonable
size.
--------- snip ----------
---- boot/build wizball3.ivistar.de %kolab ----
obmtool:NOTICE: did not find openpkg/rpm executable.
Checking/fetching binary
sh.
obmtool:NOTICE: did not find binary sh. Checking/fetching
source sh.
OpenPKG 2.5-RELEASE Source Bootstrap Package, version 2.5.4
Building for prefix /kolab on current platform
++ extracting OpenPKG source distribution
++ building OpenPKG binary distribution
[1mOpenPKG Bootstrap Procedure [m
++ bootstrap version: 2.5.4-2.5.4
++ user/group pairs: root/root kolab/kolab kolab-r/kolab-r
kolab-n/kolab-n
++ distribution directory:
/kolab/RPM/TMP/openpkg-2.5.4-2.5.4.src
++ platform product: ix86-rhl4.5
++ platform technology: i686-linux2.6
++ platform support: unknown (expect not to work)
++ executing(%prep): sh /kolab/RPM/TMP/openpkg.boot.prep.sh
++ umask 022
++ cd /kolab/RPM/TMP
[...]
install openpkg-2.5.4-2.5.4
wiperpm gdbm-1.8.3-2.5.0
wiperpm dbtool-1.6-2.5.0
error: package gdbm is not installed
error: package dbtool is not installed
install make-3.80-2.5.0
]0;wizball3 rebuild make-3.80-2.5.0 [2007-06-30 01:37:26]
rebuild
make-3.80-2.5.0
error: cannot open /kolab/RPM/PKG/make-3.80-2.5.0.src.rpm:
Permission denied
]0;wizball3:/tmp/obmtool.3505.tmp
obmtool:WARNING: install failure.
Missing
/kolab/RPM/PKG/make-3.80-2.5.0.ix86-rhl4.5-kolab.rpm
install binutils-2.16.1-2.5.1
]0;wizball3 rebuild binutils-2.16.1-2.5.1 [2007-06-30
01:37:30] rebuild
binutils-2.16.1-2.5.1
error: cannot open
/kolab/RPM/PKG/binutils-2.16.1-2.5.1.src.rpm: Permission
denied
]0;wizball3:/tmp/obmtool.3505.tmp
obmtool:WARNING: install failure.
Missing
/kolab/RPM/PKG/binutils-2.16.1-2.5.1.ix86-rhl4.5-kolab.rpm
install gcc-4.0.2-2.5.0
]0;wizball3 rebuild gcc-4.0.2-2.5.0 [2007-06-30 01:37:34]
rebuild
gcc-4.0.2-2.5.0
error: cannot open /kolab/RPM/PKG/gcc-4.0.2-2.5.0.src.rpm:
Permission denied
]0;wizball3:/tmp/obmtool.3505.tmp
obmtool:WARNING: install failure.
Missing
/kolab/RPM/PKG/gcc-4.0.2-2.5.0.ix86-rhl4.5-kolab.rpm
install fsl-1.7.0-2.20070303
]0;wizball3 rebuild fsl-1.7.0-2.20070303 [2007-06-30
01:37:38] rebuild
fsl-1.7.0-2.20070303
error: cannot open
/kolab/RPM/PKG/fsl-1.7.0-2.20070303.src.rpm: Permission
denied
]0;wizball3:/tmp/obmtool.3505.tmp
obmtool:WARNING: install failure.
Missing
/kolab/RPM/PKG/fsl-1.7.0-2.20070303.ix86-rhl4.5-kolab.rpm
[...]
install libiconv-1.10-2.5.0
]0;wizball3 rebuild libiconv-1.10-2.5.0 [2007-06-30
01:40:47] rebuild
libiconv-1.10-2.5.0
---------- snap ----------
regards,
Andreas Micklei
--
Andreas Micklei
IVISTAR Kommunikationssysteme AG
Ehrenbergstr. 19 / 10245 Berlin, Germany
http://www.ivistar.de
Handelsregister: Berlin Charlottenburg HRB 75173
Umsatzsteuer-ID: DE207795030
Vorstand: Dr.-Ing. Dirk Elias
Aufsichtsratsvorsitz: Dipl.-Betriebsw. Frank Bindel
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: obmtool install failure on centOS
4.4 |

|
2007-07-11 06:04:59 |
Are you root when starting obmtool ?
Did you verify your package with a md5sum ?
# md5sum -c MD5SUM
can you run
# find /kolab* -iname "config.log" -ls
and look for the error in the last (look the date) log files
?
Alain
On 7/11/07, Andreas Micklei <andreas.micklei ivistar.de> wrote:
> Hi,
>
> I am still running kolab 2.0.3 on CentOS 4.4. The
machine runs on x86_64,
> hence I am compiling in a VMWare instance running the
i386 version of the
> same distro and copy over the resulting RPMs.
>
> I want to upgrade to 2.1, but the build fails right
after the OpenPkg
> bootstrap when trying to build the first packages.
Obviously there is a
> problem with file permissions.
>
> The strange thing is I tried to rebuild kolab 2.0.3 for
reference and here
> everything works flawlessly.
>
> Any idea what is wrong with 2.1? Same thing happens if
I try an upgrade
> instead of a fresh install.
>
> Below are the relevant sections of the kolab-build.log,
cut to reasonable
> size.
>
> --------- snip ----------
> ---- boot/build wizball3.ivistar.de %kolab ----
> obmtool:NOTICE: did not find openpkg/rpm executable.
Checking/fetching binary
> sh.
> obmtool:NOTICE: did not find binary sh.
Checking/fetching source sh.
> OpenPKG 2.5-RELEASE Source Bootstrap Package, version
2.5.4
> Building for prefix /kolab on current platform
> ++ extracting OpenPKG source distribution
> ++ building OpenPKG binary distribution
> [1mOpenPKG Bootstrap Procedure [m
> ++ bootstrap version: 2.5.4-2.5.4
> ++ user/group pairs: root/root kolab/kolab
kolab-r/kolab-r kolab-n/kolab-n
> ++ distribution directory:
/kolab/RPM/TMP/openpkg-2.5.4-2.5.4.src
> ++ platform product: ix86-rhl4.5
> ++ platform technology: i686-linux2.6
> ++ platform support: unknown (expect not to work)
> ++ executing(%prep): sh
/kolab/RPM/TMP/openpkg.boot.prep.sh
> ++ umask 022
> ++ cd /kolab/RPM/TMP
>
> [...]
>
> install openpkg-2.5.4-2.5.4
> wiperpm gdbm-1.8.3-2.5.0
> wiperpm dbtool-1.6-2.5.0
> error: package gdbm is not installed
> error: package dbtool is not installed
> install make-3.80-2.5.0
> ]0;wizball3 rebuild make-3.80-2.5.0 [2007-06-30
01:37:26] rebuild
> make-3.80-2.5.0
> error: cannot open
/kolab/RPM/PKG/make-3.80-2.5.0.src.rpm: Permission denied
> ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/make-3.80-2.5.0.ix86-rhl4.5-kolab.rpm
> install binutils-2.16.1-2.5.1
> ]0;wizball3 rebuild binutils-2.16.1-2.5.1 [2007-06-30
01:37:30] rebuild
> binutils-2.16.1-2.5.1
> error: cannot open
/kolab/RPM/PKG/binutils-2.16.1-2.5.1.src.rpm: Permission
> denied
> ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/binutils-2.16.1-2.5.1.ix86-rhl4.5-kolab.rpm
> install gcc-4.0.2-2.5.0
> ]0;wizball3 rebuild gcc-4.0.2-2.5.0 [2007-06-30
01:37:34] rebuild
> gcc-4.0.2-2.5.0
> error: cannot open
/kolab/RPM/PKG/gcc-4.0.2-2.5.0.src.rpm: Permission denied
> ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/gcc-4.0.2-2.5.0.ix86-rhl4.5-kolab.rpm
> install fsl-1.7.0-2.20070303
> ]0;wizball3 rebuild fsl-1.7.0-2.20070303 [2007-06-30
01:37:38] rebuild
> fsl-1.7.0-2.20070303
> error: cannot open
/kolab/RPM/PKG/fsl-1.7.0-2.20070303.src.rpm: Permission
> denied
> ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/fsl-1.7.0-2.20070303.ix86-rhl4.5-kolab.rpm
>
> [...]
>
> install libiconv-1.10-2.5.0
> ]0;wizball3 rebuild libiconv-1.10-2.5.0 [2007-06-30
01:40:47] rebuild
> libiconv-1.10-2.5.0
> ---------- snap ----------
>
> regards,
> Andreas Micklei
>
> --
> Andreas Micklei
> IVISTAR Kommunikationssysteme AG
> Ehrenbergstr. 19 / 10245 Berlin, Germany
> http://www.ivistar.de
>
> Handelsregister: Berlin Charlottenburg HRB 75173
> Umsatzsteuer-ID: DE207795030
> Vorstand: Dr.-Ing. Dirk Elias
> Aufsichtsratsvorsitz: Dipl.-Betriebsw. Frank Bindel
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users kolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users
>
--
--
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: obmtool install failure on centOS
4.4 |
  United Kingdom |
2007-07-11 07:01:24 |
On Wednesday 11 July 2007 11:08, Andreas Micklei wrote:
When I built 2.1 on Ubuntu (7.04) recently (also tried RHEL4
update 42 with
same results) I had the same problem, the problem was a
permissions one -
when it was trying to build the packages it was switching to
a different user
(one of the kolab ones I think) which didn't have
permissions to access/move
the files it was trying to build.
The error that I was getting was that the rpm was missing -
it was missing
because it was never built as a result of the build
failing.
I ended up editing the obmtool script and changing line 372
to read:
BUILDUSER=root
Instead of letting it figure out the user. Now this is
probably not the best
solution, but I have not had time to go back out and figure
out the proper
solution.
I was root when I started the build and the files that were
downloaded were
all owned by root.
Not sure if that helps at all.
Cheers,
Mark
> Hi,
>
> I am still running kolab 2.0.3 on CentOS 4.4. The
machine runs on x86_64,
> hence I am compiling in a VMWare instance running the
i386 version of the
> same distro and copy over the resulting RPMs.
>
> I want to upgrade to 2.1, but the build fails right
after the OpenPkg
> bootstrap when trying to build the first packages.
Obviously there is a
> problem with file permissions.
>
> The strange thing is I tried to rebuild kolab 2.0.3 for
reference and here
> everything works flawlessly.
>
> Any idea what is wrong with 2.1? Same thing happens if
I try an upgrade
> instead of a fresh install.
>
> Below are the relevant sections of the kolab-build.log,
cut to reasonable
> size.
>
> --------- snip ----------
> ---- boot/build wizball3.ivistar.de %kolab ----
> obmtool:NOTICE: did not find openpkg/rpm executable.
Checking/fetching
> binary sh.
> obmtool:NOTICE: did not find binary sh.
Checking/fetching source sh.
> OpenPKG 2.5-RELEASE Source Bootstrap Package, version
2.5.4
> Building for prefix /kolab on current platform
> ++ extracting OpenPKG source distribution
> ++ building OpenPKG binary distribution
> [1mOpenPKG Bootstrap Procedure [m
> ++ bootstrap version: 2.5.4-2.5.4
> ++ user/group pairs: root/root kolab/kolab
kolab-r/kolab-r kolab-n/kolab-n
> ++ distribution directory:
/kolab/RPM/TMP/openpkg-2.5.4-2.5.4.src
> ++ platform product: ix86-rhl4.5
> ++ platform technology: i686-linux2.6
> ++ platform support: unknown (expect not to work)
> ++ executing(%prep): sh
/kolab/RPM/TMP/openpkg.boot.prep.sh
> ++ umask 022
> ++ cd /kolab/RPM/TMP
>
> [...]
>
> install openpkg-2.5.4-2.5.4
> wiperpm gdbm-1.8.3-2.5.0
> wiperpm dbtool-1.6-2.5.0
> error: package gdbm is not installed
> error: package dbtool is not installed
> install make-3.80-2.5.0
> ]0;wizball3 rebuild make-3.80-2.5.0 [2007-06-30
01:37:26] rebuild
> make-3.80-2.5.0
> error: cannot open
/kolab/RPM/PKG/make-3.80-2.5.0.src.rpm: Permission
> denied ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/make-3.80-2.5.0.ix86-rhl4.5-kolab.rpm
> install binutils-2.16.1-2.5.1
> ]0;wizball3 rebuild binutils-2.16.1-2.5.1 [2007-06-30
01:37:30] rebuild
> binutils-2.16.1-2.5.1
> error: cannot open
/kolab/RPM/PKG/binutils-2.16.1-2.5.1.src.rpm: Permission
> denied
> ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/binutils-2.16.1-2.5.1.ix86-rhl4.5-kolab.rpm
> install gcc-4.0.2-2.5.0
> ]0;wizball3 rebuild gcc-4.0.2-2.5.0 [2007-06-30
01:37:34] rebuild
> gcc-4.0.2-2.5.0
> error: cannot open
/kolab/RPM/PKG/gcc-4.0.2-2.5.0.src.rpm: Permission
> denied ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/gcc-4.0.2-2.5.0.ix86-rhl4.5-kolab.rpm
> install fsl-1.7.0-2.20070303
> ]0;wizball3 rebuild fsl-1.7.0-2.20070303 [2007-06-30
01:37:38] rebuild
> fsl-1.7.0-2.20070303
> error: cannot open
/kolab/RPM/PKG/fsl-1.7.0-2.20070303.src.rpm: Permission
> denied
> ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing
/kolab/RPM/PKG/fsl-1.7.0-2.20070303.ix86-rhl4.5-kolab.rpm
>
> [...]
>
> install libiconv-1.10-2.5.0
> ]0;wizball3 rebuild libiconv-1.10-2.5.0 [2007-06-30
01:40:47] rebuild
> libiconv-1.10-2.5.0
> ---------- snap ----------
>
> regards,
> Andreas Micklei
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: obmtool install failure on centOS
4.4 |
  Germany |
2007-07-11 10:10:30 |
Am Mittwoch, 11. Juli 2007 schrieb Mark Seagrief:
> When I built 2.1 on Ubuntu (7.04) recently (also tried
RHEL4 update 42 with
> same results) I had the same problem, the problem was a
permissions one -
> when it was trying to build the packages it was
switching to a different
> user (one of the kolab ones I think) which didn't have
permissions to
> access/move the files it was trying to build.
>
> The error that I was getting was that the rpm was
missing - it was missing
> because it was never built as a result of the build
failing.
>
> I ended up editing the obmtool script and changing line
372 to read:
> BUILDUSER=root
>
> Instead of letting it figure out the user. Now this is
probably not the
> best solution, but I have not had time to go back out
and figure out the
> proper solution.
>
> I was root when I started the build and the files that
were downloaded were
> all owned by root.
>
> Not sure if that helps at all.
Thanks, that absolutely did the trick!
All RPMs did build cleanly (with slight massage on gmp and
clamav as
documented in the wiki). Now upgrading to 2.1 should
finally work.
Any idea why this permission problem occured? I am sure this
issue does not
come up too often, otherwise obmtool would not be as it is,
right? Also as
said before it did not occur with kolab 2.0.3.
regards,
Andreas Micklei
--
Andreas Micklei
IVISTAR Kommunikationssysteme AG
Ehrenbergstr. 19 / 10245 Berlin, Germany
http://www.ivistar.de
Handelsregister: Berlin Charlottenburg HRB 75173
Umsatzsteuer-ID: DE207795030
Vorstand: Dr.-Ing. Dirk Elias
Aufsichtsratsvorsitz: Dipl.-Betriebsw. Frank Bindel
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: obmtool install failure on centOS
4.4 |
  Germany |
2007-07-11 11:03:27 |
Mark Seagrief <mark rtsw.co.uk> writes:
> On Wednesday 11 July 2007 11:08, Andreas Micklei
wrote:
>
>> I want to upgrade to 2.1, but the build fails right
after the OpenPkg
>> bootstrap when trying to build the first packages.
Obviously there is a
>> problem with file permissions.
> The error that I was getting was that the rpm was
missing - it was missing
> because it was never built as a result of the build
failing.
>
> I ended up editing the obmtool script and changing line
372 to read:
> BUILDUSER=root
>
Thanks for the report and the fix. I added it to the wiki
troubleshooting section:
http://wiki.kolab.org/index.php/Kolab2_Server_Troubl
eshooting_-_Compiling#obmtool_complains_with_.22Permission_d
enied.22
Cheers,
Gunnar
--
____ http://www.pardus.de
_________________ http://gunnarwrobel.de _
>> Mail at ease - Rent a kolab groupware server at
p rdus <<
p rdus Kolab work is funded in part by KDAB and the
Kolab Konsortium
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: obmtool install failure on centOS
4.4 |
  Germany |
2007-07-11 15:03:09 |
Am Mittwoch, 11. Juli 2007 schrieb Gunnar Wrobel:
> Thanks for the report and the fix. I added it to the
wiki
> troubleshooting section:
>
> http://wiki.kolab.org/index.php/Kolab
2_Server_Troubleshooting_-_Compiling#o
>bmtool_complains_with_.22Permission_denied.22
Thanks for preserving this helpful information.
kolab 2.1 is now up and running here!
--
Andreas Micklei
IVISTAR Kommunikationssysteme AG
Ehrenbergstr. 19 / 10245 Berlin, Germany
http://www.ivistar.de
Handelsregister: Berlin Charlottenburg HRB 75173
Umsatzsteuer-ID: DE207795030
Vorstand: Dr.-Ing. Dirk Elias
Aufsichtsratsvorsitz: Dipl.-Betriebsw. Frank Bindel
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|