All of oscar needs to abandon the service command and do:

/etc/init.d/name [start|stop|whatever]

instead of:

service name [start|stop|whatever]

I found out that on all of the linuxes I looked at, /etc/init.d is the only path to the init.d commands scripts that works everywhere, it is either a linked-to or link-to the directory that has all the init.d command scripts.

On Tue, 2004-09-14 at 08:37, Benoit des Ligneris wrote:
Hello,

The SuSe support in OSCAR is not official ... yet.

It is very impressive that you manage to have the wizard running (thanks
NCSA folks for this ;-) however the remaining step is a bit complicated.

Can you please post your complete OSCAR version as well as you
oscarinstall.log ?

As fas as I know, some commands that are heavily in use in OSCAR does
not exists on SuSe, espescially the "service" command that allow to
stop/restart/start a service. This will cause failure in some scripts.

Another thing is the image building step and that's where you are
blocking right now. As I have already "ported" OSCAR to other disto, I
will try to explain my "methodology" :

1) Select only the minimal number of packages (only the core packages)

2) With this limited subset you will have to tweak :
   a- The suse rpmlist (in oscarsample/suse-9.1-i386.rpmlist)
   b- The config.xml of every package you have installed :
        - base/config.xml
        - c3/config.xml
        - oda/config.xml
        - perl-Qt/config.xml
        - sis/config.xml
        - switcher/config.xml
        - sync_files/config.xml

All the dependencies (in the oscarsample/suse-9.1-i386.rpmlist) have to
be solved. A quick way to have a working list is to list the rpm
installed on a given (minimal) system :
rpm -qa --queryformat "%{NAME}\n"|sort > my-list.rpmlist

Some packages are very distro specific, in this case :
      * perl-Qt : Check that the rpm is working otherwise recompile
      
      * switcher : Recompile for SuSe and modify the setup script
      
      * base : Mofify the list of prerequisite for SuSe 9.1 (cut & paste
      the     <filter distribution='suse' distribution_version='8.1'
      group='oscar_server' /> section to make a 
          <filter distribution='suse' distribution_version='9.1'
          group='oscar_server' /> section)
          

3) Once you have a working minimal subset, add one package at a time and
   check that it is installing and working corretcly

All in all, this is really a development task and I would be happy to
help.

Ben

PS : I would like to have some input from the NCSA folks, especially
     about the service command and other problems they had with SuSe
     support ?

* Rajeev Sharma <[EMAIL PROTECTED]> [04-09-14 06:09]:
>    >>>Rajeev Sharma 09/14 4:24 pm >>>
>    Hello List,
> 
>    I am new to oscar and trying to install it on SUSE Linux 9.1 .
>    I  have installed the oscar server( by running install_cluster.sh) and
>    able to got the Wizard.
>    Till  server Pkgs installation in the wizard, everything went fine but
>    when  i  tried to make the cliebt image , it gave me a long error.(got
>    it from "oscarinstall.log" file).
>    Then  i  tried  to  make  my  own  rpmlist in respect of the pkgs from
>    /tftpboot/rpm but it also didn't work.
> 
>    The error it gives, "couldn't find (a long list of pkgs)"...i tried to
>    add and remove the pkgs from the rpmlist file , but it was like a loop
>    an didn't gave me any fruitfull output.
> 
>    Is  there  anybody  has  tried to install oscar on any version of SUSE
>    linux.
>    Looking for help :-
> 
>    Thanks in advance
>    rajeev
--
Neil Gorsuch <[EMAIL PROTECTED]>
NCSA

Reply via email to