Post install script assumes that qmgr and pbs_server are in the current path wich is wrong.
Jeoffroy, can you update the torque oscar package accordingly. I can't issue a diff patch as my torque package has other modifications. Here is the correct post install script. /sbin/chkconfig pbs_mom on /sbin/chkconfig pbs_server on /sbin/chkconfig pbs_sched on /bin/hostname --long > %{torquehomedir}/server_priv/nodes /bin/hostname --long > %{torquehomedir}/server_name /bin/hostname --long > %{torquehomedir}/mom_priv/config %{torquesbindir}/pbs_server -t create %{torquebindir}/qmgr -c "s s scheduling=true" %{torquebindir}/qmgr -c "c q batch queue_type=execution" %{torquebindir}/qmgr -c "s q batch started=true" %{torquebindir}/qmgr -c "s q batch enabled=true" %{torquebindir}/qmgr -c "s q batch resources_default.nodes=1" %{torquebindir}/qmgr -c "s q batch resources_default.walltime=3600" %{torquebindir}/qmgr -c "s s default_queue=batch" %{_initrddir}/pbs_mom restart %{_initrddir}/pbs_sched restart %{_initrddir}/pbs_server restart %{torquebindir}/qmgr -c "s n `/bin/hostname --long` state=free" -e In the meantime, the post install can be run by hand: /opt/pbs/sbin/pbs_mom stop /opt/pbs/sbin/pbs_sched stop /opt/pbs/sbin/pbs_server stop /opt/pbs/bin/qmgr -c "s s scheduling=true" /opt/pbs/bin/qmgr -c "c q batch queue_type=execution" /opt/pbs/bin/qmgr -c "s q batch started=true" /opt/pbs/bin/qmgr -c "s q batch enabled=true" /opt/pbs/bin/qmgr -c "s q batch resources_default.nodes=1" /opt/pbs/bin/qmgr -c "s q batch resources_default.walltime=3600" /opt/pbs/bin/qmgr -c "s s default_queue=batch" /opt/pbs/sbin/pbs_mom start /opt/pbs/sbin/pbs_sched start /opt/pbs/sbin/pbs_server start Regards. Olivier. Le mardi 15 février 2011 15:36:58 laxman singh Mandloi a écrit : > Any suggestion............. > > On Tue, Feb 15, 2011 at 11:17 AM, laxman singh Mandloi < > > laxmansin...@gmail.com> wrote: > > Hello Geoffroy > > > > we need to execute command yum update. Giving package signing error " > > gpg sining error" with Torque pakage. if you don't care about signing > > package. > > > > so correct command is : > > > > [root@tldapsrv ~]# yum update --nogpgcheck > > > > */var/tmp/rpm-tmp.10848: line 16: syntax error: unexpected end of file* > > > > *error: %post(torque-oscar-2.3.7-4.x86_64) scriptlet failed, exit status > > 2 * > > > > Updating : torque-oscar-client > > > > 3/22 > > > > Updating : torque-oscar-mom > > > > 4/22 > > > > Updating : torque-oscar-scheduler > > > > 5/22 > > > > Updating : torque-oscar-server > > > > 6/22 > > > > Updating : torque-oscar-gui > > > > 7/22 > > > > Updating : torque-oscar-localhost > > > > 8/22 > > > > /var/tmp/rpm-tmp.2405: line 7: pbs_server: command not found > > > > /var/tmp/rpm-tmp.2405: line 8: qmgr: command not found > > > > /var/tmp/rpm-tmp.2405: line 9: qmgr: command not found > > > > /var/tmp/rpm-tmp.2405: line 10: qmgr: command not found > > > > /var/tmp/rpm-tmp.2405: line 11: qmgr: command not found > > > > /var/tmp/rpm-tmp.2405: line 12: qmgr: command not found > > > > /var/tmp/rpm-tmp.2405: line 13: qmgr: command not found > > > > /var/tmp/rpm-tmp.2405: line 14: qmgr: command not found > > > > after update all rpm.start the service. > > > > [root@tldapsrv ~]# yum update --nogpgcheck > > > > sucessfully execution of comman. than i execute command : > > > > [root@tldapsrv ~]# oscar-config --bootstrap > > > > > > Initializing ODA: mysql > > Database Initialization... > > Restarting the database service... > > starting service mysqld... starting service mysqld... mysqld (pid 24506) > > is running... > > Stopping MySQL: ^[[60G[^[[0;32m OK ^[[0;39m]^M > > Starting MySQL: ^[[60G[^[[0;32m OK ^[[0;39m]^M > > > > ================================================================ > > Your MySQL has already setup the root password. > > To proceed, please enter your root password of MySQL: > > ================================================================ > > > > Database_status: 1 > > starting service mysqld... Stopping MySQL: ^[[60G[^[[0;32m OK > > ^[[0;39m]^M > > Starting MySQL: ^[[60G[^[[0;32m OK ^[[0;39m]^M > > > > Successfully initialized ODA > > > > Database Initialization... > > Restarting the database service... > > starting service mysqld... starting service mysqld... mysqld (pid 28069) > > is running... > > Stopping MySQL: ^[[60G[^[[0;32m OK ^[[0;39m]^M > > Starting MySQL: ^[[60G[^[[0;32m OK ^[[0;39m]^M > > > > ================================================================ > > Your MySQL has already setup the root password. > > To proceed, please enter your root password of MySQL: > > ================================================================ > > > > Database_status: 1 > > Modifying the global oscar information record > > DB_DEBUG>/usr/bin/set_global_oscar_values: > > ====> in Database::update_table SQL: UPDATE Clusters SET > > server_distribution='rhel', headnode_interface='eth0', > > installation_date=NOW(), server_architecture='x86_64', > > oscar_version='6.1', server_distribution_version='5' > > Checking for database existence of node oscar_server ... > > The node oscar_server is already in the database > > Updating the hostname field in the oscar_server node to < > > tldapsrv.lnmiit.ac.in> ... > > > > > > ======================================================================== > > ===== == Update NIC info (eth0) > > > > ======================================================================== > > ===== > > > > Head private IP: 172.22.2.23 > > Detecting local distro... > > Connecting to ODA... > > Creating the list of packages to delete... > > Getting info on all opkgs available in the passed OS repositories... > > [INFO] http://mirror.centos.org/centos/5/os/x86_64/ is in cache > > [INFO] http://mirror.centos.org/centos/5/extras/x86_64/ is in cache > > [INFO] file:/tftpboot/distro/centos-5-x86_64 is in cache > > [INFO] http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64 is in > > cache > > [INFO] file:/tftpboot/oscar/common-rpms is in cache > > > > [INFO] Querying for available OSCAR packages. That may take a while, > > please be patient... > > > > [ opkg-sync-files opkg-openmpi opkg-maui opkg-blcr opkg-netbootmgr > > opkg-ganglia opkg-sis opkg-oda opkg-disable-services opkg-diskless > > opkg-base opkg-pvm opkg-sis opkg-rapt opkg-switcher opkg-apitest > > opkg-linux-ha opkg-documentation opkg-sge opkg-sc3 opkg-jobmonarch > > opkg-mpich opkg-selinux opkg-torque opkg-opium opkg-mtaconfig > > opkg-networking opkg-ntpconfig opkg-yume opkg-lam opkg-loghost opkg-c3 > > opkg-pfilter ] > > Array: 33 element(s) > > > > [INFO] Querying details for all OPKGs we found... > > > > DEBUG>/usr/bin/populate_oda_packages_table: > > ====>print_hash > > -- OPKGs data: -> > > DEBUG>/usr/bin/populate_oda_packages_table: > > > > DEBUG>/usr/bin/populate_oda_packages_table: > > ====>print_hash > > > > All completed sql table command successfully. > > > > > > ======================================================================== > > ===== == Installing server core packages > > > > ======================================================================== > > ===== > > > > [INFO] http://mirror.centos.org/centos/5/os/x86_64/ is in cache > > [INFO] http://mirror.centos.org/centos/5/extras/x86_64/ is in cache > > [INFO] file:/tftpboot/distro/centos-5-x86_64 is in cache > > [INFO] http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64 is in > > cache > > [INFO] file:/tftpboot/oscar/common-rpms is in cache > > Need to install the following packages: opkg-yume-server > > Installing packages in /: > > [ opkg-yume-server ] > > Array: 1 element(s) > > > > Repository Manager Status: > > Repos: > > http://mirror.centos.org/centos/5/os/x86_64/,http://mirror.centos.org/ce > > ntos/5/extras/x86_64/,file:/tftpboot/distro/centos-5-x86_64,http://bison > > .csm.ornl.gov/repos/unstable/rhel-5-x86_64,file:/tftpboot/oscar/common-r > > pms > > > > Distro: centos-5-x86_64 > > Format: rpm > > > > Packman status: > > Format: RPM > > Associated distro: centos-5-x86_64 > > ChRoot: / > > Number of repos: 5 > > List of repos: file:/tftpboot/oscar/common-rpms, > > > > http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64, > > file:/tftpboot/distro/centos-5-x86_64, > > http://mirror.centos.org/centos/5/extras/x86_64/, > > http://mirror.centos.org/centos/5/os/x86_64/ > > > > Error: No matching Packages to list > > > > After each package list shown error.... > > > > than after show message. > > > > > > ======================================================================== > > ===== == Successfully bootstrapped OSCAR > > > > ======================================================================== > > ===== > > > > han show error like Error; no matching package to list. > > > > for different packages for server........ > > > > [root@tldapsrv centos-5.4-x86_64]# oscar_wizard install > > > > popup windows appear... but not shown any package and not responding.. > > > > On Sat, Feb 12, 2011 at 8:09 AM, <geoffroy.val...@free.fr> wrote: > >> Hello, > >> > >> There are on the repositories, just update using yum. > >> > >> Thanks, > >> > >> ----- "laxman singh Mandloi" <laxmansin...@gmail.com> a écrit : > >> > Hello Geoffroy, > >> > > >> > Thank for your earlier response, please can you provide me new rpm > >> > location. > >> > > >> > > >> > > >> > > >> > On Sat, Feb 12, 2011 at 12:44 AM, < geoffroy.val...@free.fr > > >> > wrote: > >> > > >> > > >> > Hello, > >> > > >> > Sorry it was a typo in a configuration file, i fixed it and > >> > generated > >> > a new set of RPMs. Can you please update the RPMs and try to > >> > bootstrap > >> > again? > >> > > >> > Regards, > >> > > >> > ----- "laxman singh Mandloi" < laxmansin...@gmail.com > a écrit : > >> > > Hello............ > >> > > > >> > > After several day of work with my main work i found mailing > >> > > list for > >> > > OSCAR. i hope i find out the fix for the error i found when i > >> > > try to > >> > > configure OSCAR computational cluster. > >> > > > >> > > [root@tldapsrv ~]# oscar_wizard > >> > > > >> > > [root@tldapsrv Desktop]# oscar_wizard > >> > > Can't locate Tk.pm in @INC (@INC contains: > >> > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > >> > > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > >> > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > >> > > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > >> > > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi > >> > > >> > /usr/lib/perl5/5.8.8 > >> > > >> > > .) at /usr/bin/oscar_wizard line 47. > >> > > BEGIN failed--compilation aborted at /usr/bin/oscar_wizard > >> > > line 47. > >> > > > >> > > Some where i read if you getting error setup the perl variable > >> > > but > >> > > > >> > > [root@tldapsrv ~]# > >> > >> PERL5LIB=/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/:/ > >> usr/lib/perl5/site_perl/5.8.8:/usr/lib/perl5/site_perl:/usr/lib64/perl > >> 5/vendor_perl/5.8.8/x86_64-linux-thread-multi/:/usr/lib/perl5/vendor_p > >> erl/5.8.8/:/usr/lib/perl5/vendor_perl/:/usr/lib64/perl5/5.8.8/x86_64-l > >> inux-thread-multi/:/usr/lib/perl5/5.8.8/ > >> > >> > > After export the variable than run again same command but not > >> > > get > >> > > success, getting same error any ............. > >> > > > >> > > i hope someone face this problem in community.............help > >> > > >> > needed. > >> > > >> > > Please find the log in attachment . one is courrent after > >> > > modified > >> > > repo url and one when i first got error > >> > > > >> > > Thanx. > >> > > > >> > > -- > >> > > Thanks And Regards > >> > > Laxman Singh Mandloi > >> > > Linux Administrator /Trainer > >> > > Mob no.9826651100 http://lakshyaone.blogspot.com/ > >> > >> ---------------------------------------------------------------------- > >> -------- > >> > >> > > The ultimate all-in-one performance toolkit: Intel(R) Parallel > >> > > >> > Studio > >> > > >> > > XE: > >> > > Pinpoint memory and threading errors before they happen. > >> > > Find and fix more than 250 security defects in the development > >> > > >> > cycle. > >> > > >> > > Locate bottlenecks in serial and parallel code that limit > >> > > performance. > >> > > http://p.sf.net/sfu/intel-dev2devfeb > >> > > _______________________________________________ > >> > > Oscar-devel mailing list > >> > > Oscar-devel@lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/oscar-devel > >> > > >> > -- > >> > Thanks And Regards > >> > Laxman Singh Mandloi > >> > Linux Administrator /Trainer > >> > Mob no.9826651100 http://lakshyaone.blogspot.com/ > > > > -- > > Thanks And Regards > > Laxman Singh Mandloi > > Linux Administrator /Trainer > > Mob no.9826651100 http://lakshyaone.blogspot.com/ -- Olivier LAHAYE Responsable calcul scientifique CEA DRT/LIST +33 1 69 08 13 25 ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Oscar-devel mailing list Oscar-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-devel