Actually there is a function called "update_hosts" which fixes this in "install_server" - the problem is this is done after non-core packages are installed (which would cause a problem for SGE).
DongInn just checked in a fix which moved the call to before the RPM installation and will test. Cheers, Bernard > -----Original Message----- > From: Michael Edwards [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 24, 2006 15:11 > To: Bernard Li > Cc: DongInn Kim; Devel OSCAR > Subject: Re: [Oscar-devel] SGE Error on FC3-X86, trunk (r4848) > > The nodes will also get lost because they will copy the 127.0.0.1 line > with the oscar-fc3 name included and for some services point to > themselves rather than the head node. At least it used to :) > > On 5/24/06, Bernard Li <[EMAIL PROTECTED]> wrote: > > > > > > Hi DongInn: > > > > Actually from my experience, the "oscar_server nfs_oscar > pbs_oscar" will > > just get tagged onto the "127.0.0.1" line. AFAIK OSCAR > will not help you > > add the 192.168.0.101 line unless you do it yourself. > Which is why I think > > it is important we have some sort of sanity checking. > > > > This also affects TORQUE BTW, and is the cause of all the > "Unauthorized > > Request" issues. > > > > Regards, > > > > Bernard > > > > > > ________________________________ > > > > From: DongInn Kim [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 24, 2006 12:51 > > > > To: Bernard Li > > Cc: Devel OSCAR > > Subject: Re: [Oscar-devel] SGE Error on FC3-X86, trunk (r4848) > > > > > > Oops, right. Yes, it works fine now. :-) > > Well, sanity-checking seems not find out this problem on > the default package > > selection. > > It does work with my faulty /etc/hosts on the default > packages selection. I > > just double checked on FC3-X86 > > > > > > Wait.. at the beginning, /etc/hosts was > > [EMAIL PROTECTED] ~]$ cat /etc/hosts > > # Do not remove the following line, or various programs > > # that require network functionality will fail. > > 127.0.0.1 oscar-fc3 localhost.localdomain localhost > > > > > > But when step 3 was done, I got this > > [EMAIL PROTECTED] ~]# cat /etc/hosts > > # Do not remove the following line, or various programs > > # that require network functionality will fail. > > 192.168.0.101 oscar-fc3 oscar_server nfs_oscar pbs_oscar > > 127.0.0.1 oscar-fc3 localhost.localdomain localhost > > > > > > So, I think somehow this faulty /etc/hosts is taken care of > during step 3 on > > the default package selection. > > > > > > - DongInn > > > > > > > > On May 24, 2006, at 3:19 PM, Bernard Li wrote: > > > > > > > > > > > > > > On May 24, 2006, at 3:09 PM, Bernard Li wrote: > > > > Hmmm... this setup should NOT work even with standard > OSCAR since your > > /etc/hosts file does not even have an entry for your ip > (127.0.0.1 is just > > the loopback). > > > > > > > > Add the ip of your host to the file and move oscar-fc3 there. > > > > > > > > Well, I guess I'll just have to implement the > sanity-checking myself... > > > > > > > > Cheers, > > > > > > > > Bernard > > > > > > > > > > > > > > > > From: DongInn Kim [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, May 24, 2006 12:05 > > > > To: Bernard Li > > > > Cc: Devel OSCAR > > > > Subject: Re: [Oscar-devel] SGE Error on FC3-X86, trunk (r4848) > > > > > > > > > > > > > > > > [EMAIL PROTECTED] ~]$ cat /etc/hosts > > > > # Do not remove the following line, or various programs > > > > # that require network functionality will fail. > > > > 127.0.0.1 oscar-fc3 localhost.localdomain localhost > > > > [EMAIL PROTECTED] ~]$ > > > > > > > > > > On May 24, 2006, at 3:00 PM, Bernard Li wrote: > > > > Hi DongInn: > > > > > > > > Looks like some issues with your /etc/hosts file - can you post? > > > > > > > > Cheers, > > > > > > > > Bernard > > > > > > > > > > > > > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of DongInn Kim > > > > Sent: Wednesday, May 24, 2006 11:56 > > > > To: Devel OSCAR > > > > Subject: [Oscar-devel] SGE Error on FC3-X86, trunk (r4848) > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > I have tried to install trunk(r4848) on FC3-X86 and > everything seems to work > > just fine with the default package selection. > > > > But when I tried to select SGE, I got the following errors on step 3 > > "Install OSCAR server packages". > > > > Note: It used to work with r4830 on FC3-X86. > > > > BTW, I was trying to figure out RM_Detect problem since I > believe that the > > RM_Detect error happens only after I select SGE package. > > > > > > > > > > Setting systemimager-server-netboodmond to NET_BOOT_DEFAULT=local > > > > Stopping SystemImager's net boot client monitor: si_netbootmond. > > > > Starting SystemImager's net boot client monitor: si_netbootmond. > > > > [sge] SGE configuration options are set, proceeding with > installation... > > > > ESC[HESC[2JReading configuration from file ./myInstall.conf > > > > inst_sge system function SUCCESS > > > > error: cell directory "/opt/sge/default" doesn't exist > > > > Error: Problem with adding OSCAR head as sge admin host at > > /opt/oscar-5.0a1r48 > > > > 48/packages/sge/scripts/post_server_install line 137 > > > > Failed running post_server_install for sge at > ./install_server line 134 > > > > --> Step 3: Failed to properly install OSCAR server; please > check the logs > > > > --> Update Wizard Env (as needed) > > > > > > > > > > The above messages were grep'ed with OSCAR_VERBOSE set to 5. > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > - DongInn > > > > -------------------------------------------------------- > > > > OSL System administrator > > > > [EMAIL PROTECTED] > > > > Indiana University > > > > Bloomington, IN > > > > > > > > > > > > > > > > > > > > > > - DongInn > > > > -------------------------------------------------------- > > > > OSL System administrator > > > > [EMAIL PROTECTED] > > > > Indiana University > > > > Bloomington, IN > > > > > > > > > > > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
