Hi, I'm trying to run my RAID adapter monitoring tool. Unfortunately, Dell provide this tool only for RedHat. Eitherway, I installed this rpm and it is running good on SuSE 9.3. Now I want to make it integrate good with the system. So, using the skeleton, and the original script provided with the rpm, I created something ... which is not working really OK. It starts the service, but the status and the stop parts are ... well, I'm not a scripting guy at all :) So, from the RH script, they start the service with: daemon MegaCtrl -start ans stop it with daemon MegaCtrl -stop /usr/sbin/MegaCtrl is a symlink to /usr/sbin/MegaCt32, which is binary executable. After starting the service from CLI with: #MegaCtrl -start the service is started, and ps aux | grep Meg produces: linux:/home/sunny # ps aux | grep Meg root 13715 0.0 0.0 1340 488 ? Ds 10:49 0:00 /usr/sbin/MegaServ MegaCtrl So, it seems that the real executable is MegaServ, and it breaks how all the SuSE init subroutines like killproc, rc_status, etc. work. As I said, I'm not a scripting guy, neither I have used RH, so I do not know what daemon command in their script does and how it works, so I can implement a similar functionality for my SuSE init script. I understand that maybe the info provided is not enough, and I have only these binaries, so I have no control over them, but any help will be highly appreciated. Attached is the script I created. As and addition, if I invoke this script with "start" it starts the service, but reports failed. So I guess there is a collision in how startproc and rc_status work and query the status. And it can not stop the service. Any suggestions how to change it are very welcome. Or, would you suggest that just starting this tool from boot.local (even if it is not "beautiful") is an option? Cheers Sunny
Am trying to install MPlayer on Suse 9.3. Have gone to Packman site and downloaded the requisite files. Whenever I try to install the RPMs (w32codec-all or libdca or toolame) using YAST the following happens. 1. Install appears to go normally 2. At the 100% mark, I get a message indicating the RPM has failed to install 3. Details show "fatal region error detected" Any suggestions? Thanks in advance
William E. Shotts wrote:
Am trying to install MPlayer on Suse 9.3. Have gone to Packman site and downloaded the requisite files. Whenever I try to install the RPMs (w32codec-all or libdca or toolame) using YAST the following happens.
1. Install appears to go normally 2. At the 100% mark, I get a message indicating the RPM has failed to install 3. Details show "fatal region error detected"
Any suggestions?
Thanks in advance
I had the same problems installing non SuSE rpms on AMD64 platform. Instead of using YaST, open a console and navigate to the directory where the rpms are and install them manually. 1) Install rpms using the command : rpm -Uvh *.rpm 2) Run the commands "SuSEconfig" and "ldconfig". These have to run as root. Can other list members confirm this procedure? Regards. Sudhir
Am trying to install MPlayer on Suse 9.3. Have gone to Packman site and downloaded the requisite files. Whenever I try to install the RPMs (w32codec-all or libdca or toolame) using YAST the following happens.
1. Install appears to go normally 2. At the 100% mark, I get a message indicating the RPM has failed to install 3. Details show "fatal region error detected"
Any suggestions?
The latest MPlayer (1.0pre7-3.3.5) builds nicely from sources available at http://www.mplayerhq.hu/homepage/design7/dload.html. -- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
Jay Vollmer wrote:
Am trying to install MPlayer on Suse 9.3. Have gone to Packman site and downloaded the requisite files. Whenever I try to install the RPMs (w32codec-all or libdca or toolame) using YAST the following happens.
1. Install appears to go normally 2. At the 100% mark, I get a message indicating the RPM has failed to install 3. Details show "fatal region error detected"
Any suggestions?
The latest MPlayer (1.0pre7-3.3.5) builds nicely from sources available at http://www.mplayerhq.hu/homepage/design7/dload.html. I have built mplayer from sources after a little trial and error. There are some steps involved to install fonts, skins and OSD. If you have managed to carry these out successfully, can you please let me have some guidance on how you achieved this?
TIA. Sudhir
participants (4)
-
Jay Vollmer
-
Sudhir Anand
-
Sunny
-
William E. Shotts