- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: kickstart URGENT
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2006 06:59 PM
тАО02-13-2006 06:59 PM
I tried to use rpmbuil --rebuild pkg.src.rpm in the post installation script of kickstart but it didn't work.
I checked that the pkg.src.rpm hab been copied to the installed machine.
Any help?
A question: in the post installation script , is the new installed kernel (OS) running on the machine when the post installation script is executed?
REGARDS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2006 07:08 PM
тАО02-13-2006 07:08 PM
SolutionThat being said, run up another test machine, go to ctl-alt-f4 (or ctl-alt-f5, can never remember which one), and look for errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2006 07:33 PM
тАО02-13-2006 07:33 PM
Re: kickstart URGENT
>I checked that the pkg.src.rpm hab been >copied to the installed machine.
Did you have all gcc/make and so on?
Do you see any error messages in install log?
>A question: in the post installation >script , is the new installed kernel (OS) >running on the machine when the post >installation script is executed?
No!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2006 09:08 PM
тАО02-13-2006 09:08 PM
Re: kickstart URGENT
Stuart: I need to do this step automatically due to some reasons.
I will reinstall on a new machine and check for the errors.
I already modifies my kickstart file to append the output of the rpmbuild command to a log file.
vitaly: concerning gcc and make pkg , they are installed i checked them.
i will check the install log file in the new machine that i am currently installed .
I will informe you guys with all the result as soon as the new installation complete .I am doing my test on a vmware machine
really thanks a lot
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2006 10:16 PM
тАО02-13-2006 10:16 PM
Re: kickstart URGENT
this is a resume about the log file.
1-drivelog list the output of the command rpmbuil --rebuild:
Installing bcm5700-8.2.18-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.94713
.......
.....
....
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.94713
RPM build errors:
2-install.log:
Installing 577 packages
Installing hwdata-0.101.17-1.noarch.
Installing libgcc-3.2.3-52.i386.
.........
......
......
Installing make-3.79.1-17.i386.
Installing automake14-1.4p6-6.noarch.
Installing automake15-1.5-7.noarch.
......
Installing gcc-3.2.3-52.i386.
Installing gcc-c++-3.2.3-52.i386.
Installing gcc-g77-3.2.3-52.i386.
Installing gcc-gnat-3.2.3-52.i386.
Installing gcc-java-3.2.3-52.i386.
Installing gcc-objc-3.2.3-52.i386.
Installing gcc-ssa-3.5ssa-0.20030801.48.i386.
Installing gcc-c++-ssa-3.5ssa-0.20030801.48.i386.
Installing gcc-g77-ssa-3.5ssa-0.20030801.48.i386.
Installing gcc-java-ssa-3.5ssa-0.20030801.48.i386.
Installing gcc-objc-ssa-3.5ssa-0.20030801.48.i386.
...........
3-a tail of install.log.syslog:
<86>Feb 14 12:13:58 useradd[4532]: new group: name=canna, gid=39
<86>Feb 14 12:13:58 useradd[4532]: new user: name=canna, uid=39, gid=39, home=/var/lib/canna, shell=/sbin/nologin
<86>Feb 14 12:14:06 useradd[4538]: new group: name=wnn, gid=49
<86>Feb 14 12:14:06 useradd[4538]: new user: name=wnn, uid=49, gid=49, home=/var/lib/wnn, shell=/sbin/nologin
<13>Feb 14 12:15:34 kudzu: linked /dev/mouse to /dev/psaux
<13>Feb 14 12:15:36 kudzu: ran mouseconfig for psaux
<13>Feb 14 12:15:36 kudzu: aliased usb-controller as usb-uhci
NB: i checked the lines mentionned above these lines in the .syslog no errors found
I really appreciate your interpretation as sonn as possible
Thanks
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 12:18 AM
тАО02-14-2006 12:18 AM
Re: kickstart URGENT
BTW, do you have kernel sources installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 12:36 AM
тАО02-14-2006 12:36 AM
Re: kickstart URGENT
Yes I am able to run the command after installation.
And the kernel source pkg is also installed , this is an output of rpm -qa | grep kernel-source:
kernel-source-2.4.21-32.EL
btw: the drivelog that i listed before indicates that the rpmbuild process is stopped (with error) at the "make" step compared to a normal output of the same command tried after the installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 07:06 AM
тАО02-14-2006 07:06 AM
Re: kickstart URGENT
That package tries to compile against the *currently running* kernel.
Given that you're running against a 2.4.xxBOOT at the time (of which you don't have the kernel source installed for), this can't be done.
If you really want to do it, then use the kickstart %post to add a new once-of service which will do the recompile, start the appropriate services, and then remove it's self afterwards.
With the KS process I used to use, this is how we got around a number of similar issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 05:36 PM
тАО02-14-2006 05:36 PM
Re: kickstart URGENT
It was so simple :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 06:52 PM
тАО02-14-2006 06:52 PM
Re: kickstart URGENT
Stuart :could you provide me with more information ?
I already copied the .src.rpm on the machine in a directory /mnt/driver and tried to recompile under:
%post --interpreter /bin/sh
cd /mnt/driver
rpmbuild --rebuild ......src.rpm
What I am missing to do?
Regards