I have installed WL server 9.2 MP1 on a Solaris server. When I try to startup the domain, it gets as far as: -
Server state changed to STANDBY
Server state changed to STARTING
and then just hangs with no further messages.
I also have WL server 8.1 on the same server and I have checked that...
You have downloaded weblogic 8.1 but have you actually installed it ? If not you need to download the installation manual and run through the install before attempting to start it.
I have installed WLS8.1 on Solaris unix servers and can start WLS from the command line with :-
nohup ./startWebLogic.sh &
But I can't figure out to set up a unix startup script under /etc/rc3.d so that WLS will startup on a reboot.
Has anyone managed to do this ?
The default memory allocation for Weblogic is I beleive only 64mb. If you haven't already done so, this can be increased in the Weblogic startup script.
I have installed Weblogic Server 8.1 on a Unix server and configured the admin server as a development server. I can then startup the server as a background process with
'startWeblogic.sh &' and this works fine. However if I try another install and configure it as a production server, I cannot...
I am new to LDAP, so my experience is limited. I have inherited a system which has an LDAP server using Netscape Directory Server 4.1 on Solaris 8, and a single LDAP client also on Solaris 8. We use the LDAP to authenticate users and groups, and this worked fine until the number of users reached...
I am new to LDAP so I only know the basics. I have some groups which have many users - over 1000, and the ldap clients cannot resolve the group names. i.e if it try to chgrp groupname filename it fails with uknown group but if I chgrp gid filename it works ok. This only happens with groups with...
I am a unix admin, but new to Linux. I have inherited a Red Hat server and need to install some packages which were not included in the original installation. I would normally use something like pkgadd on Solaris, but can't find anything similar on Red Hat. Any advice would be appreciated.
I am surprised that you cannot use xargs as it should have full execute permissions by anybody.
It is more likly that the action you are trying to do is giving you the permissions problem.
e.g if you were trying to 'xargs rm' to remove a file, you may not have write permissions on the file.
If a user creates a file, it will always have the ownership of that user. You have the following options :-
Get the users to 'su admin' before the file is created.
or
Get the users to 'chown' the file after it is created.
or
Run a 'root' cron job every few minutes to 'chown' all the files in...
Try this script.
#!/bin/ksh
counter=0
for line in `cat your_filename`
do
let "counter=counter+1"
echo $line > temp_file
grep 'your_string' temp_file > dummy_file
if [[ $? = 0 ]] then
echo "String found in line "$counter
tail +$count your_filename | head -4
echo
fi
done
This...
You can't append to a tar file. You would need to untar the file, add your new files to the list and tar them up again.
Alternatively do you mean write a new tar file to the end of a tape ? In this case you need to fast forward the tape to the end of the first file use mt -fsf specifying the no...
You could set a 'flag file' to decide whether you should be paged
e.g
Oracle process failed
If 'paged' file does not exist
send pager message
touch 'paged' file
else do nothing
First time around there is no 'paged' file so the script pages you and creates the file.
Second time around nothing...
I guess I am running out of ideas with this one.
I did wonder if there was something odd with your keyboard or keyboard mapping, but then it still wouldn't work after you have set -o vi at the command line.
Over to you Ken !!!
df -k should give you figures for disc capacity, usage and availabilty plus usage as a percentage of capacity
e.g
capacity usage avail %use
/usr 1000000 500000 500000 50%
One of the major features of hardware raid 5 particularly in a business critical environment is the ability to use hot swap discs (hardware permitting). A disc fails, the system continues to work - at a reduced performance - the disc is replaced, it rebuilds itself. The result - no interruption...
I managed to get access to a RedHat Linux box and the man pages have no reference to 'motd' However the man page for login suggest that it is the login binary which displays the last login.
On other unix servers which do have an motd file, this is read by /etc/profile for sh or ksh users and...
Use the find command to locate all files older than one day and then remove them
cd /dir
find . -ctime +1 | xargs rm
Remember when writing any script which removes files, test it thoroughly on dummy files / directories before running it on important files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.