[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::ase

Title:ase
Moderator:SMURF::GROSSO
Created:Thu Jul 29 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2114
Total number of notes:7347

2087.0. "Segmentation fault (core dumped)" by C6BON::BLAT (cluster) Mon May 26 1997 15:13

        Hello,
        I have 2 systems DECsafe running UNIX V3.2G and ASE130.
        ASE has been successfully installed and configured,
        2 Disk services have been added , but I cannot add the
        start and stop script because when ASE wants to delete a
        service to recreate it during the add script option,
        the delete service fails,
        and if I try to delete a service with the menu , I have a
        segmentation fault.
	(the localhost is OK )

        Thanks in advance for any help./Patrick

                Service Configuration

    a)  Add a new service
    m)  Modify a service
    d)  Delete a service
    s)  Display the status of a service

    x)  Exit to Managing ASE Services    ?)  Help

Enter your choice [x]: d

        Deleting a Service

Select the service you want to delete:

    1)  louxor on naples
    2)  alexas on naples

    x)  Exit to Service Configuration    ?)  Help

Enter your choice [x]: 2
Segmentation fault (core dumped)
SU_NAPLES>

========================================================================
Extract of daemon.log

May 26 10:29:27 nevada DECsafe: nevada Agent Info: exec'ing: /var/ase/sbin/advfs_dmn_action 1577 check dom
2 /dev/vol/dg2/vol02
May 26 10:29:27 nevada DECsafe: nevada Agent Info: exec'ing: /var/ase/sbin/ase_mount_action 1579 check ale
xas dom2#set3 /usr/kits/ingres_server advfs
May 26 10:29:27 nevada DECsafe: naples Agent Info: exec'ing: /var/ase/sbin/ase_filesystem 2164 check alexa
s
May 26 10:29:27 nevada DECsafe: nevada Agent Info: exec'ing: /var/ase/sbin/ase_filesystem 1585 check alexa
s
May 26 10:29:27 nevada DECsafe: naples Agent Info: exec'ing: /var/ase/sbin/ase_check_svc 2171 check alexas

May 26 10:29:27 nevada DECsafe: naples Agent Info: exec'ing: /var/ase/sbin/nfs_ifconfig 2175 check alexas
May 26 10:29:28 nevada DECsafe: nevada Agent Info: exec'ing: /var/ase/sbin/ase_check_svc 1592 check alexas

May 26 10:29:28 nevada DECsafe: nevada Agent Info: exec'ing: /var/ase/sbin/nfs_ifconfig 1596 check alexas
May 26 10:29:28 nevada DECsafe: naples Agent Notice: deleting service alexas
May 26 10:29:28 nevada DECsafe: naples Agent Warning: aseagent exiting on segmentation fault...
May 26 10:29:28 nevada DECsafe: naples Agent Info: exec'ing /sbin/init.d/aseam stop
May 26 10:29:28 nevada DECsafe: nevada Agent Notice: deleting service alexas
May 26 10:29:28 nevada DECsafe: nevada Agent Warning: aseagent exiting on segmentation fault...
May 26 10:29:28 nevada DECsafe: nevada Agent Info: exec'ing /sbin/init.d/aseam stop
May 26 10:29:29 nevada DECsafe: local AseLogger Info: Agent on 'naples' disconnected
May 26 10:29:29 nevada DECsafe: naples Agent Error: return from endless loop:Bad file number
May 26 10:29:29 nevada DECsafe: naples Agent Notice: restarting Agent!
May 26 10:29:29 nevada DECsafe: naples Director Info: HSM on 'naples' no longer reachable
May 26 10:29:29 nevada DECsafe: naples Director Info: exec'ing with pipe: /var/ase/sbin/ase_run_sh 2210
May 26 10:29:29 nevada DECsafe: process_external_events: select error
May 26 10:29:29 nevada DECsafe: nevada Agent Error: return from endless loop:Bad file number
May 26 10:29:29 nevada DECsafe: local Agent Info: last logger channel closed, logging locally now...
May 26 10:29:29 nevada DECsafe: local AseLogger Info: Agent on 'nevada' disconnected
May 26 10:29:30 nevada DECsafe: nevada Agent Notice: restarting Agent!
May 26 10:29:30 nevada DECsafe: naples Director ***ALERT: Lost connection to the HSM... exiting
May 26 10:29:30 nevada DECsafe: local AseLogger Info: Director on 'naples' disconnected
May 26 10:29:30 nevada DECsafe: naples Director Warning: Director exiting...
May 26 10:29:30 nevada DECsafe: naples AseMgr Notice: msgSvcSend: peer hung up before we got reply
May 26 10:29:30 nevada DECsafe: naples AseMgr Error: blocking send to director failed
May 26 10:29:30 nevada DECsafe: naples AseMgr Error: Delete failed - Unable to delete service.
May 26 10:29:30 nevada DECsafe: naples AseMgr Error: blocking send to director failed
May 26 10:29:31 nevada DECsafe: local Agent Info: exec'ing /sbin/init.d/aseam start
May 26 10:29:32 nevada DECsafe: naples AseMgr Error: Delete failed - Unable to delete service.
May 26 10:29:32 nevada DECsafe: naples AseMgr Error: blocking send to director failed
May 26 10:29:32 nevada DECsafe: naples AseMgr Error: Start failed - Unable to start service
T.RTitleUserPersonal
Name
DateLines
2087.1Time for support...NNTPD::"cherkus@buff.zk3.dec.com"Dave CherkusMon May 26 1997 16:127
A segmentation fault is a software bug.  I looked at the README file
for the ASE 1.3 patches and I didn't see any patch that matched this
set of circumstances.  I think it is time for you to contact the
software support organization.

Dave
[Posted by WWW Notes gateway]
2087.2for the future...cartun.mro.dec.com::canb22.nio.dec.com::AscheryaddaTue May 27 1997 13:4615
You will find that it is much much easier to give ASE only a 
'dummy' script whose job is to call your real start and stop scripts. This lets you do a 
lot of the debugging without involving ASE and also gives you a nice break point to 
escape from the pickle that you have gotten into.

I always have my real start/stop script do a check for a file called "DoNothing" which, 
if found, will indicate that the real script should simply exit. With "DoNothing" in 
place I can check out all the 'pure' ASE issues. THen I can put the service 'online' and 
then remove DoNothing and then directly call my start/stop script for debugging them 
without involving ASE at all. Once I'm confident in both the ASE setup and the scripts 
then I can go ahead and do full testing.

good luck.

d