Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Summary-Talk] Summary under NFS / Solaris 9




Gang,

    Has anyone managed to get Summary to work while residing on a NFS
mounted partition? When I try, I get the following:

jeffm@install(pts/3):~/summary2.5.1> ./summary -P
Welcome to Summary/2.5.1.  Copyright (c) 1998-2004 by Jason T. Linhart.
Portions are Copyright 1998 by the Massachusetts Institute of Technology.
Lock err on mapped file: Resource temporarily unavailable (11)
Unable to reset the database!
Lock err on mapped file: Resource temporarily unavailable (11)
Segmentation fault (core dumped)


I'm assuming this is due to fcntl() style file locks, as evidenced from a
truss output:

<about 100 lines skipped>
time()                                          = 1090596635
open("/home/jeffm/summary2.5.1/data/report.dat", O_RDWR|O_CREAT, 0640) = 4
lseek(4, 0, SEEK_END)                           = 262144
mmap(0x00000000, 2144862208, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) =
0x7F000000
sigaction(SIGALRM, 0xFFBFECD8, 0xFFBFED58)      = 0
alarm(3)                                        = 0
fcntl(4, F_SETLKW, 0xFFBFEDF8)                  Err#11 EAGAIN
alarm(0)                                        = 3
Lock err on mapped file: Resource temporarily unavailable (11)
write(1, " L o c k   e r r   o n  ".., 63)      = 63
Unable to reset the database!
write(1, " U n a b l e   t o   r e".., 30)      = 30
sigaction(SIGALRM, 0xFFBFF588, 0xFFBFF608)      = 0
alarm(3)                                        = 0
fcntl(4, F_SETLKW, 0xFFBFF6A8)                  Err#11 EAGAIN
alarm(0)                                        = 3
Lock err on mapped file: Resource temporarily unavailable (11)
write(1, " L o c k   e r r   o n  ".., 63)      = 63
    Incurred fault #6, FLTBOUNDS  %pc = 0xFF134478
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000

Reason I'd like to do this over NFS, is because the system that processes
the logs is limited in disk space, while our NFS server has about 500 GB
free...

Summary is being run from a Sun V210 running Solaris 9. NFS server is a
clustered (active/passive) pair of Sun V480's running Solaris 9 and 
Veritas
HA VxFS/VxVM.

-jeff

-- 
Jeff McCombs                            NIC Solutions
jeffm@nicusa.com                        1477 Chain Bridge Rd, St 101
(703) 909-3277                          McLean, VA 22101
        "NIC - The people behind eGovernment"
---
  "If you try to fail, and you succeed, what did you just do?"
-------------
Go to <http://summary.net/list.html> to update subscription info.