07-30-2002
P.S. I realize that the "=flock.file" is not an important file, but I do have other files, files containing configuration info, which also have the "=" character in them...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've read the man page, but still unclear a bit....
I'm making some packages of files. My pkginfo file has a line BASEDIR=/base/path. I also have several prototype files (depending on the package), that either list the destination path as absolute:
f non /abs/path/to/go/here/file1
or are... (0 Replies)
Discussion started by: Yinzer955i
0 Replies
2. Shell Programming and Scripting
Hi All,
I am using mysql at sun solaris unix(Hp) server. I logged into mysql server with root as user. its logged in properly. Then i used 'show databases' mysql command. its display all the available databases.
for example
mysql > show databases;
It displayed as follows.
exampledb1
... (1 Reply)
Discussion started by: dbsurf
1 Replies
3. Solaris
Hi to all I have a sun Ultra 10 workstation with the following configuration
SUN ULTRA-10 Workstation
440 Mhz CPU
1024 MB RAM
40 GB HDD Seagate (Connected as Primary master)
FDD
Samsung DVD Writer (connected as Secondary master)
CABINET
SMPS
Sun keyboard and mouse
the command -... (3 Replies)
Discussion started by: network45
3 Replies
4. Solaris
When I want to install some softwares from source with gcc/4.3 on a sparc solaris 9
I always have errors like this one : (example with lapack-3.2)
../../lapack_SUN4.a(slacn2.o): In function `slacn2_':
slacn2.f:(.text+0x1b0): undefined reference to `lroundf'
slacn2.f:(.text+0x370): undefined... (0 Replies)
Discussion started by: wolfhurt
0 Replies
5. Solaris
after booting up my zone i get following error
# zlogin -C DB_zone
Sep 29 09:18:46 svc.startd: Could not log for svc:/system/filesystem/root:default: write(51) failed with I/O error.
Sep 29 09:18:47 svc.startd: Could not log for svc:/system/installupdates:default: write(17) failed with... (5 Replies)
Discussion started by: fugitive
5 Replies
6. Solaris
Hi Geeks,
I am trying to configure 'postfix' for sending mail only instead of 'sendmail'.
I am getting following error when I try to send mail using mailx command.
#echo "test" | mailx -s "test mail" <username> -- command executed from server
--/var/log/syslog output :
Jul 8 12:55:44... (0 Replies)
Discussion started by: abhkadam
0 Replies
7. Linux
Hi all,
Trying to achieve:
Remote X11 app (advance trader workstation... really old) from solaris to linux. This app uses a startup script that loads some fonts via xset.
I get an error from xset saying "incorrect font server address or syntax"
Of course its not correct since i'm... (0 Replies)
Discussion started by: maverick72
0 Replies
8. Solaris
Hi guys
I need some help with the following error
# pkgmk -r 'pwd'
## Building pkgmap from package prototype file.
ERROR in prototype:
garbled entry
- pathname: none
- problem: extra tokens on input line
pkgmk: ERROR: unable to build pkgmap from prototype file
##... (2 Replies)
Discussion started by: solaris_user
2 Replies
9. Solaris
Hi guys,
I had a solaris box, with veritas controled disk.
1 disc is showing soft errors, how can I repair the soft errors?
Please help.
Cheers; (4 Replies)
Discussion started by: Mujakol
4 Replies
10. Solaris
Hi,
I have installed apache 2.2.22 on solaris machine and trying to do some basic testing, but it is failing for one of the scenario.
Seeing below in the error logs
But noy sure why there is a need for AuthUserFile when i mentioned AuthldapURL.
Please advise
Thanks (1 Reply)
Discussion started by: prash358
1 Replies
LEARN ABOUT DEBIAN
explain_flock_or_die
explain_flock_or_die(3) Library Functions Manual explain_flock_or_die(3)
NAME
explain_flock_or_die - control advisory lock on open file and report errors
SYNOPSIS
#include <libexplain/flock.h>
void explain_flock_or_die(int fildes, int command);
int explain_flock_on_error(int fildes, int command))
DESCRIPTION
The explain_flock_or_die function is used to call the flock(2) system call. On failure an explanation will be printed to stderr, obtained
from the explain_flock(3) function, and then the process terminates by calling exit(EXIT_FAILURE).
The explain_flock_on_error function is used to call the flock(2) system call. On failure an explanation will be printed to stderr, obtained
from the explain_flock(3) function, but still returns to the caller.
fildes The fildes, exactly as to be passed to the flock(2) system call.
command The command, exactly as to be passed to the flock(2) system call.
RETURN VALUE
The explain_flock_or_die function only returns on success, see flock(2) for more information. On failure, prints an explanation and exits,
it does not return.
The explain_flock_on_error function always returns the value return by the wrapped flock(2) system call.
EXAMPLE
The explain_flock_or_die function is intended to be used in a fashion similar to the following example:
explain_flock_or_die(fildes, command);
SEE ALSO
flock(2)
apply or remove an advisory lock on an open file
explain_flock(3)
explain flock(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2009 Peter Miller
explain_flock_or_die(3)