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 MOJAVE
flopen
FLOPEN(3) BSD Library Functions Manual FLOPEN(3)
NAME
flopen -- reliably open and lock a file
LIBRARY
Utility functions from BSD systems (libbsd, -lbsd)
SYNOPSIS
#include <sys/fcntl.h>
#include <bsd/libutil.h>
int
flopen(const char *path, int flags);
int
flopen(const char *path, int flags, mode_t mode);
DESCRIPTION
The flopen() function opens or creates a file and acquires an exclusive lock on it. It is essentially equivalent with calling open() with
the same parameters followed by flock() with an operation argument of LOCK_EX, except that flopen() will attempt to detect and handle races
that may occur between opening / creating the file and locking it. Thus, it is well suited for opening lock files, PID files, spool files,
mailboxes and other kinds of files which are used for synchronization between processes.
If flags includes O_NONBLOCK and the file is already locked, flopen() will fail and set errno to EWOULDBLOCK.
As with open(), the additional mode argument is required if flags includes O_CREAT.
RETURN VALUES
If successful, flopen() returns a valid file descriptor. Otherwise, it returns -1, and sets errno as described in flock(2) and open(2).
SEE ALSO
errno(2), flock(2), open(2)
AUTHORS
The flopen function and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD
June 6, 2009 BSD