Root.sh script is not running successfully in RAC
Hi
when i run root.sh script for RAC Grid installation. throws below error in screen.
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
Disk Group ASM already exists. Cannot be created again
Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/grid/11.2.0/grid_1/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2500: Cannot stop resource 'ora.asm' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/grid/11.2.0/grid_1/bin/crsctl stop resource ora.asm -init
Stop of resource "ora.asm -init" failed
Failed to stop ASM
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
What need to be done. please help
IN case it matters, which version?
I agree with Hemant K Chitale on both of his points. The disk group has already been created, and one probably shouldn't name it "ASM". Give it a more meaningful name.
"Configuration of ASM failed, see logs for details"
Did you look in the log files? Anything of interest in there?
Cheers,
Brian
Similar Messages
-
Root.sh script fail to run on OEL5.4
hi, I am trying to install Grid Infrastructure for a Standalone Server on Oracle Enterprise Linux 5.4. i have a problem when i run root.sh script through root user its not execute successufly the error is "error while loading shared libraries" Please give any soluciton.
Here is the execution of root.sh script
[root@ws1 OraGrid11gR2]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/grid/OraGrid11gR2
Enter the full pathname of the local bin directory: [usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-11-02 18:18:28: Checking for super user privileges
2009-11-02 18:18:28: User has super user privileges
2009-11-02 18:18:28: Parsing the host name
Using configuration parameter file: /opt/grid/OraGrid11gR2/crs/install/crsconfig_params
Creating trace directory
/opt/grid/OraGrid11gR2/bin/ocrconfig.bin: error while loading shared libraries:/opt/grid/OraGrid11gR2/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
Failed to create or upgrade OLR
Please give any solutionThis installation should be very very simple and straight-forward but it has taken me over a week to sort it out.
What nobody pointed out is the fact that the best way to go about it is:
1. Deinstall the install
2. Make sure SELINUX=disabled is set in /etc/selinux/conf ....bounce it if necessary
3. Do the install again afresh
I didn't know it can be this easy.....I have gone thru every note and onto Metalink without any luck. Now I am delighted and can go on with my practices. -
Powershell Startup script is not running on client machine
Hi,
We have a OU which has some computer accounts. We have a powershell script which sets the value of HKLM\system\currentcontrolset\services\usbstor - start - 4. I created a GPO in which this script is set in startup mode. I have applied
this GPO object to the OU. In parameter tab i have kept it blank. But this scrpit doesn't run all on any of the machines. I have checked the script running manually and it works.
I have gone through the microsoft blog's and have performed in that way also but no output.
1. What more setting i need to do on GPO object ?
2. Or where should keep the script in server sysvol folder ?
ThanksHello Amit,
A couple of things to check:
Do you put the Powershell scripts in appropriate tab when you are trying to configure your script?
I believe it does not complete successfully because Powershell and related services is not started yet in start up process.
You can run it successfully because you are logged on and all the related services are started.
Since you are trying to apply GPO to windows 7 and higher operating systems, you can apply registry settings using GPO preferences. More info:
Configure a Registry Item
Regards.
Mahdi Tehrani |
|
www.mahditehrani.ir
Please click on Propose As Answer or to mark this post as
and helpful for other people.
This posting is provided AS-IS with no warranties, and confers no rights.
How to query members of 'Local Administrators' group in all computers? -
Root.sh script failed to run after 11gR2 grid installation
Hi,
I am trying to install 11gR2 on RHEL 5.3 . however I have problems running th post install script on both nodes.
here is the output of the root.sh script on the first node :
[root@rac1 grid]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [usr/local/bin]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Can't locate auto/DynaLoader/dl_findfile.al in @INC (@INC contains: /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib /u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl . /u01/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 171
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/Fcntl.pm line 216.
Compilation failed in require at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 10.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 10.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 218.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 218.
I found the required auto/DynaLoader/dl_findfile.al file :
[root@rac1 grid]# find /. -name dl_findfile.al
/./orainst/app/crs/perl/lib/5.8.3/x86_64-linux-thread-multi/auto/DynaLoader/dl_findfile.al
/./usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/dl_findfile.al
but I don't know how or where to change the perl include libraries.
Please AdviseHi,
no I don't have PERL5LIB environment set to some value for root.
I added the path in the root.sh file to the system perl-5.8.8 include file and change the perlbin to use the system /usr/bin/perl executable and then the root.sh file did run and finished succesfully.
However other utilities have the same problems . like running asmcmd.
Do you have any idea how to fix it globally?
Thanks -
Linux Sh script is not running in forms10g(10.1.2)
Hi
The Oracle Forms server is installed in Linux.
I have placed the below host commands in forms10g. The Host command is running but shell sh script is not executed.
BEGIN
:GLOBAL.DIR_PATH:='/forms/shell_files/';
Host(:GLOBAL.DIR_PATH||'my_shell.sh'||' > '||:GLOBAL.DIR_PATH||'my_shell.log');
END;
I tried to execute the sh file and redirect the output to log file.
But log file has been created with blank file. but shell sh script is not executed.
I have given the full path of the shell sh file and given the full rights for the sh file.
Is there any access permission to be set for sh file execution?
Please help.Thank you in advance.OS: UNIX Solaries, Oracle Application Server 10g
To run shell script from Oracle Forms, I used the following host('/bin/bash /u01/compile.sh') and it works well
Now, I need to run unix command something like
host('mv form1.fmx FORM1.FMX') but it's not working
I tried to append the command mv form1.fmx FORM1.FMX' to the compile.sh shell script but also it's not working although the rest lines of the shell script is running well -
Modify a Script To Not Run at Shutdown?
Using the archstats script listed below, how could I alter the script so that it only runs the $ARCHSTATS_CMD command during boot but not when shutting down? I see that is handled by the 'stop)' section, but I am unclear how to properly remove this portion and still have the script operate as desired.
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
# NOTE: If you use an alternate location for your archstats.conf file,
# make sure to set that accordingly with the -c switch
# Set this to the 'archstats' client path
ARCHSTATS_CMD='/usr/bin/archstats'
case "$1" in
start)
stat_busy "Updating ArchStats"
if [ -x "$ARCHSTATS_CMD" ]; then
"$ARCHSTATS_CMD" -u
stat_done
else
stat_fail
fi
stop)
stat_busy "Updating ArchStats"
if [ -x "$ARCHSTATS_CMD" ]; then
"$ARCHSTATS_CMD" -u
stat_done
else
stat_fail
fi
echo "usage: $0 {start|stop}"
esac
exit 0I would guess this, just remark out the "stop" code. Just add "#" to the start of a line to remark it out, so it does not run.
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
# NOTE: If you use an alternate location for your archstats.conf file,
# make sure to set that accordingly with the -c switch
# Set this to the 'archstats' client path
ARCHSTATS_CMD='/usr/bin/archstats'
case "$1" in
start)
stat_busy "Updating ArchStats"
if [ -x "$ARCHSTATS_CMD" ]; then
"$ARCHSTATS_CMD" -u
stat_done
else
stat_fail
fi
stop)
# stat_busy "Updating ArchStats"
# if [ -x "$ARCHSTATS_CMD" ]; then
# "$ARCHSTATS_CMD" -u
# stat_done
# else
# stat_fail
# fi
echo "usage: $0 {start|stop}"
esac
exit 0 -
This SQL script is not running properly
The following is SQL script which I want to run.When I am running individual statements , all the statements are working. But When I am running script as a whole, its not working.
what might be the problem with following script
--the following table is created with list of Singapore Holidays
set define off
drop table exclude_date;
create table exclude_date as
select 2007 as year#, 1 month#, 1 day#, 'New Year Day' as name# from dual union all
select 2007 as year#, 1 month#, 2 day#, 'New Year Day' as name# from dual union all
select 2007 as year#, 2 month#, 18 day#, 'Chinese New Year' as name# from dual union all
select 2007 as year#, 2 month#, 19 day#, 'Chinese New Year' as name# from dual union all
select 2007 as year#, 2 month#, 20 day#, 'Chinese New Year' as name# from dual union all
select 2007 as year#, 4 month#, 6 day#, 'Good Friday' as name# from dual union all
select 2007 as year#, 5 month#, 1 day#, 'Labour Day' as name# from dual union all
select 2007 as year#, 5 month#, 31 day#, 'Vesak Day' as name# from dual union all
select 2007 as year#, 8 month#, 9 day#, 'National Day' as name# from dual union all
select 2007 as year#, 10 month#, 13 day#, 'Hari Raya Puasa' as name# from dual union all
select 2007 as year#, 11 month#, 8 day#, 'Deepavali' as name# from dual union all
select 2007 as year#, 12 month#, 20 day#, 'Hari Raya Hji' as name# from dual union all
select 2007 as year#, 12 month#, 25 day#, 'Christmas Day' as name# from dual ;
show errors;
drop type DateList;
--This statement creates type of DateList for the function all_date_list which return DateList
create or replace type DateList as table of date;
show errors;
--the following function returns list of working dates between two dates excluding SAT , SUN and Singapore Holidays
drop function all_date_list;
create or replace function all_date_list(p_start date, p_end date)
RETURN DateList
PIPELINED
IS
curdate date:=p_start;
exclude number;
BEGIN
WHILE curdate <= p_end
LOOP
BEGIN
select 1
into exclude
from exclude_date
where to_date(year#||lpad(month#,2,0)||lpad(day#,2,0),'YYYYMMDD')=trunc(curdate) --excluding unworked days
or mod(to_char(curdate,'j'),7) in (5,6); --excluding week-end
EXCEPTION WHEN NO_DATA_FOUND THEN PIPE ROW( curdate );
WHEN OTHERS THEN NULL;
END;
curdate:=curdate+1;
END LOOP;
RETURN;
END;
show errors;
--the following function returns number of working days between two dates excluding SAT , SUN and Singapore Holidays
drop function WorkingDays;
CREATE OR REPLACE function WorkingDays(msgSentDate Date) return NUMBER is
noOfWokingDays number;
begin
select count(*) into noOfWokingDays from table(all_date_list(msgSentDate,sysdate));
return noOfWokingDays;
end;
show errors;--the following table is created with list of Singapore Holidays
set define off
drop table exclude_date;
create table exclude_date as
select 2007 as year#, 1 month#, 1 day#, 'New Year Day' as name# from dual union all
select 2007 as year#, 1 month#, 2 day#, 'New Year Day' as name# from dual union all
select 2007 as year#, 2 month#, 18 day#, 'Chinese New Year' as name# from dual union all
select 2007 as year#, 2 month#, 19 day#, 'Chinese New Year' as name# from dual union all
select 2007 as year#, 2 month#, 20 day#, 'Chinese New Year' as name# from dual union all
select 2007 as year#, 4 month#, 6 day#, 'Good Friday' as name# from dual union all
select 2007 as year#, 5 month#, 1 day#, 'Labour Day' as name# from dual union all
select 2007 as year#, 5 month#, 31 day#, 'Vesak Day' as name# from dual union all
select 2007 as year#, 8 month#, 9 day#, 'National Day' as name# from dual union all
select 2007 as year#, 10 month#, 13 day#, 'Hari Raya Puasa' as name# from dual union all
select 2007 as year#, 11 month#, 8 day#, 'Deepavali' as name# from dual union all
select 2007 as year#, 12 month#, 20 day#, 'Hari Raya Hji' as name# from dual union all
select 2007 as year#, 12 month#, 25 day#, 'Christmas Day' as name# from dual ;
drop type DateList;
create or replace type DateList as table of date;
--the following function returns list of working dates between two dates excluding SAT , SUN and Singapore Holidays
drop function all_date_list;
create or replace function all_date_list(p_start date, p_end date)
RETURN DateList
PIPELINED
IS
curdate date:=p_start;
exclude number;
BEGIN
WHILE curdate <= p_end
LOOP
BEGIN
select 1
into exclude
from exclude_date
where to_date(year#||lpad(month#,2,0)||lpad(day#,2,0),'YYYYMMDD')=trunc(curdate) --excluding unworked days
or mod(to_char(curdate,'j'),7) in (5,6); --excluding week-end
EXCEPTION WHEN NO_DATA_FOUND THEN PIPE ROW( curdate );
WHEN OTHERS THEN NULL;
END;
curdate:=curdate+1;
END LOOP;
RETURN;
END;
show errors;
--the following function returns number of working days between two dates excluding SAT , SUN and Singapore Holidays
drop function WorkingDays;
CREATE OR REPLACE function WorkingDays(msgSentDate Date) return NUMBER is
noOfWokingDays number;
begin
select count(*) into noOfWokingDays from table(all_date_list(msgSentDate,sysdate));
return noOfWokingDays;
end;
show errors;
commit;
The above script is not working properly.Last two fuctions are not executing.
What might be the error? -
Shell scripts do not run anymore; problems after 10.7.3?
Hello all,
latley all my shell scripts broke and they do not run anymore. I suspect 10.7.3 to broke all the scripts. My scripts used to work fine and I had no issues. I guess it started after updateing to 10.7.3 and now I got a error as following:
-bash: ./CamSendEmail.sh: /bin/bash: bad interpreter: Operation not permitted
This is usually as the first line in my script is and ever was #!/bin/bash. If I do just remove the line, I am getting an error as following:
-bash: ./CamSendEmail.sh: Operation not permitted
Please note, that the scripts name is "CamSendEmail.sh" and that this is just an example. All my scripts are affected. At this point I need to say again, that the scripts work basicly fine till a short time ago.
Of cause, the user who runs the scripts has the permission to run the script. It is a standard user and it ever was. I did not touch the scripts nor their permissions. The only change I am aware of is updating to 10.7.3.
I did a test and cut'n'pasted the entire content of a not running script into a blank new file. The new file did work! The only differences between those 2 files are now some file system permission, I do actually not know yet:
-rwxr--r--+ 1 james staff 265 Feb 13 19:50 CamSendEmail.sh
-rwxr--r--@ 1 james staff 265 Feb 13 19:40 CamSendEmail.sh.orig
Note, that *orig does not work, while *sh does. I could not find an information about the meaning of a + and the @ in the output of ls -al. But whatever it is, I wonder how this can be influenced by 10.7.3 ...(?) Can anyone shade a little light on that?
I will keep on searching for information about + an @, but since this is somehow urgent to me, I decided to first start this posting ...
Thx for your help on that!I did some research and learned the the + and the @ are indicating extented attributes which can be managed using the xattr command. I played a little bit with it, and found out that my scripts had the following extended attribute for some reason
com.apple.quarantine
I deleted it using xattr -d com.apple.quarantine script.sh and the script worked again. This is one point.
What still drives me nuts, is the fact that this attribute was set without any interaction of me. Does anyone know if Apple has build in some new security stuff with 10.7.3? Or is this just accidential and some other action, which I am not aware of, has changed or added the extended attributes?
I realy would like to have that clarified. My scripts are part of an automated process and it took some days till I noted that this process does not work anymore, which resulted in data loss. I was happy that those days data was not very important. Now I am afraid that this may happen again any time :-(
Thx again! -
Just loaded lion software. Now java scripts will not run. What can I do to fix this
Just loaded my MacBook Pro with Lion 10.7.1 software. Trying to add printer and the script does not work for loading the drivers and software for that printer. It goes through the script then says it successfully loaded but asked me no questions about the load during the process. It appears that the Java script passes right through. Is there anything I can load to fix this problem. I also tried to use my internet stick which loads software to select and use this stick. It does not work either. What can I do to fix this???
Hi there,
You may find the troubleshooting steps in the article below helpful.
iOS: Troubleshooting Messages
http://support.apple.com/kb/ts2755
-Griff W. -
Oraclevm-template.sh not running successfully in Tools VM
Hi all,
I´m trying to run Peoplesfot FSCM 9.1 Vm Template in VBox.
Database Server seems to be well configured and running (I can connect from another windows VBox) but I´m having problems with webserver and appserver.
I´m new to this so would need some advice.
Thanks
[root@fscm912pt vm]# ./oraclevm-template.sh | tee output.log
Creating
ovm_configure_pre
No
Current
Setting
./oraclevm-template.sh: line 379: ovm_configure_network: command not found
Do you wish to configure the VM for Demo Purposes [y/n]:y
Do you wish to configure a Decoupled Application Home [y/n]:y
Default
Do you wish to setup PeopleSoft Application Server on this VM y: y
CreateVirtualEnvironment
Enter the name of the database [TESTDB]:FSCM912
Enter the hostname for the database server [fscm912pt.apps.com]:fscm912db
Enter the port number for the database host [1521]:
Are you happy with your answers y : y
WARN: An
If this VM is connecting to a PeopleSoft database created from an Oracle VM template
some additional setup may be required. We can automate these steps for you. If you
are connecting to a Database that has been used before you may wish to skip this step.
Do you want this additional setup to be performed? y: y
ChangeDBUserProfiles
Running
Running
New CFG file written with modified Startup parameters
Loading validation table...
setting DBName=FSCM912
setting DBType=ORACLE
setting UserId=VP1
setting UserPswd=VP1
setting ConnectId=people
setting ConnectPswd=peop1e
setting ServerName=____
setting Port=7000
setting Port=9000
setting Listener Port=9100
setting Domain ID=APPDOM
setting Add to PATH=.
Log Directory entry not found in configuration file.
Setting Log Directory to the default... [PS_SERVDIR/LOGS]
Spawning disabled for server PSAPPSRV.
WARNING: PSSAMSRV is configured with Min instance set to 1. To avoid loss of service, configure Min instance to atleast 2.
Configuration file successfully created.
Copying application server configuration files...
Copying [opt/oracle/psft/pt/tools/appserv/small.cfx] to [home/psadm2/psft/pt/8.52/FSCM912/appserv/APPDOM/psappsrv.cfg]
Stripping Annotations...
Copying [opt/oracle/psft/pt/tools/appserv/small.cfx] to [home/psadm2/psft/pt/8.52/FSCM912/appserv/APPDOM/psappsrv.cfx]
Copying Jolt repository file...
Domain created.
Performing load prechecks ...
CFG setting changes completed, loading configuration...
Domain configuration complete.
Created
Loading validation table...
WARNING: PSSAMSRV and PSQRYSRV are configured with Min instance set to 1. To avoid loss of service, configure Min instance to atleast 2.
Performing load prechecks ...
Loading new configuration...
Domain configuration complete.
Domain
Starting
tmadmin - Copyright (c) 2007-2008 Oracle.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by Oracle.
Tuxedo is a registered trademark.
No bulletin board exists. Entering boot mode.
INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 043Booting admin processes ...
exec BBL -A :
process id=8584 ... Started.
1 process started.
Attaching to active bulletin board.
INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 043Booting server processes ...
exec PSWATCHSRV -o ./LOGS/stdout -e ./LOGS/stderr -A -- -ID 138383 -D APPDOM -S PSWATCHSRV :
process id=8588 ... Started.
exec PSAPPSRV -o ./LOGS/stdout -e ./LOGS/stderr [email protected] -- -D APPDOM -S PSAPPSRV :
process id=8589 ... Started.
exec PSAPPSRV -o ./LOGS/stdout -e ./LOGS/stderr [email protected] -- -D APPDOM -S PSAPPSRV :
process id=8595 ... Started.
exec PSQRYSRV -o ./LOGS/stdout -e ./LOGS/stderr [email protected] -- -D APPDOM -S PSQRYSRV :
process id=8601 ... Started.
exec PSSAMSRV -o ./LOGS/stdout -e ./LOGS/stderr -A -- -D APPDOM -S PSSAMSRV :
process id=8605 ... Started.
exec PSANALYTICSRV -o ./LOGS/stdout -e ./LOGS/stderr -A -- -D APPDOM -S PSANALYTICSRV :
process id=8608 ... Started.
exec PSANALYTICSRV -o ./LOGS/stdout -e ./LOGS/stderr -A -- -D APPDOM -S PSANALYTICSRV :
process id=8611 ... Started.
exec PSANALYTICSRV -o ./LOGS/stdout -e ./LOGS/stderr -A -- -D APPDOM -S PSANALYTICSRV :
Failed.
tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
exec tmshutdown -qyOEL 5.2
When I take a look to /home/psadm2/psft/pt/8.52/FSCM912/appserv/APPDOM/LOGS/TUXLOG.041813
120211.fscm912pt.apps.com!tmloadcf.31488.2821178528.-2: 04-18-2013: client high water (0), total client (0)
120211.fscm912pt.apps.com!tmloadcf.31488.2821178528.-2: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120211.fscm912pt.apps.com!tmloadcf.31488.2821178528.-2: CMDTUX_CAT:879: INFO: A new file system has been created. (size = 1316 512-byte blocks)
120211.fscm912pt.apps.com!tmloadcf.31488.2821178528.-2: CMDTUX_CAT:871: INFO: TUXCONFIG file /home/psadm2/psft/pt/8.52/FSCM912/appserv/APPDOM/PSTUXCFG has been created
120211.fscm912pt.apps.com!tmloadcf.31543.3136480416.-2: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120211.fscm912pt.apps.com!tmloadcf.31543.3136480416.-2: CMDTUX_CAT:879: INFO: A new file system has been created. (size = 1316 512-byte blocks)
120211.fscm912pt.apps.com!tmloadcf.31543.3136480416.-2: CMDTUX_CAT:871: INFO: TUXCONFIG file /home/psadm2/psft/pt/8.52/FSCM912/appserv/APPDOM/PSTUXCFG has been created
120211.fscm912pt.apps.com!PSADMIN.31546: Begin attempt on domain APPDOM
120215.fscm912pt.apps.com!tmadmin.31599.1180347504.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
120217.fscm912pt.apps.com!tmboot.31600.640480752.-2: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120217.fscm912pt.apps.com!tmboot.31600.640480752.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
120217.fscm912pt.apps.com!tmboot.31600.640480752.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
120220.fscm912pt.apps.com!BBL.31601.1380641872.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit, Patch Level 043
120220.fscm912pt.apps.com!BBL.31601.1380641872.0: LIBTUX_CAT:262: INFO: Standard main starting
120222.fscm912pt.apps.com!tmboot.31604.3530814960.-2: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120222.fscm912pt.apps.com!tmboot.31604.3530814960.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
120222.fscm912pt.apps.com!tmboot.31604.3530814960.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
120222.fscm912pt.apps.com!PSWATCHSRV.31605.509672224.-2: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120222.fscm912pt.apps.com!PSWATCHSRV.31605.509672224.-2: LIBTUX_CAT:262: INFO: Standard main starting
120222.fscm912pt.apps.com!PSAPPSRV.31606.1946266784.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120222.fscm912pt.apps.com!PSAPPSRV.31606.1946266784.0: LIBTUX_CAT:262: INFO: Standard main starting
120225.fscm912pt.apps.com!PSAPPSRV.31612.2164616352.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120225.fscm912pt.apps.com!PSAPPSRV.31612.2164616352.0: LIBTUX_CAT:262: INFO: Standard main starting
120226.fscm912pt.apps.com!PSQRYSRV.31618.1777921184.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120226.fscm912pt.apps.com!PSQRYSRV.31618.1777921184.0: LIBTUX_CAT:262: INFO: Standard main starting
120227.fscm912pt.apps.com!PSSAMSRV.31622.579670400.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120227.fscm912pt.apps.com!PSSAMSRV.31622.579670400.0: LIBTUX_CAT:262: INFO: Standard main starting
120227.fscm912pt.apps.com!PSANALYTICSRV.31625.4005018816.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120227.fscm912pt.apps.com!PSANALYTICSRV.31625.4005018816.0: LIBTUX_CAT:262: INFO: Standard main starting
120228.fscm912pt.apps.com!PSANALYTICSRV.31628.3123104960.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
120228.fscm912pt.apps.com!PSANALYTICSRV.31628.3123104960.0: LIBTUX_CAT:262: INFO: Standard main starting
120229.fscm912pt.apps.com!PSANALYTICSRV.31631.599555264.0: 04-18-2013: Tuxedo Version 10.3.0.0, 64-bit
*120229.fscm912pt.apps.com!PSANALYTICSRV.31631.599555264.0: LIBTUX_CAT:681: ERROR: Failure to create message queue*
*120229.fscm912pt.apps.com!PSANALYTICSRV.31631.599555264.0: LIBTUX_CAT:248: ERROR: System init function failed, Uunixerr = : msgget: No space left on device*
*120229.fscm912pt.apps.com!tmboot.31604.3530814960.-2: CMDTUX_CAT:825: ERROR: Process PSANALYTICSRV at fscm912pt.apps.com failed with /T tperrno (TPEOS - operating system error)*
*120229.fscm912pt.apps.com!tmboot.31604.3530814960.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler*
*120233.fscm912pt.apps.com!BBL.31601.1380641872.0: CMDTUX_CAT:26: INFO: The BBL is exiting system*
*120236.fscm912pt.apps.com!PSADMIN.31546: End boot attempt on domain APPDOM* -
Windows 2008 R2 64 bit vbs script is not run in Task Scheduler
Good day!
There is a script that at a certain point opens excel, says there is something, saves and closes.
Does not work in 2008 scheduler mode to perform regardless of the user's registration (ie, the script should run when the PC no one registered), if you run your hands or in the Run mode only for the registered user oki-all
Here is a sample text of the script:
checkosx86x64args()
Dim conn
Set conn = CreateObject("ADODB.Connection")
conn.ConnectionString = "Provider=MSDAORA.1;Password=пароль;User ID=логин;Data Source=база;Persist Security Info=True"
conn.Open
Set Recordset = CreateObject("ADODB.Recordset")
Recordset.CursorLocation = 3
Recordset.Open "текст запроса", conn, 2, 3, 1
If Recordset.RecordCount = 0 Then
Recordset.Close: Call Pochta
else
Incas = Recordset.GetRows
Recordset.Close
End if
Set objExcel = CreateObject("Excel.Application")
Set objWorkBook = objExcel.Workbooks.Open("*.xlsx")
DateNow = Left(Now(),10)
DateTimeNow1 = CDate(DateNow + " " + "14:00:00")
DateTimeNow2 = CDate(DateNow + " " + "21:00:00")
'DateTimeNow3 = CDate(DateNow + " " + "23:30:00")
'objExcel.Range("A1:F1").Merge - объединение ячеек
objExcel.Range("A1:F1") = Empty ' очистка объединенных ячеек
If Now < DateTimeNow1 Then
objExcel.Range("A1:F1").Value = "Текст " + DateNow + " с 05:00:00 до 06:45:00"
ElseIf Now < DateTimeNow2 Then
objExcel.Range("A1:F1").Value = "Текст " + DateNow + " с 14:00:00 до 16:30:00"
Else objExcel.Range("A1:F1").Value = "Текст " + DateNow + " с 21:00:00 до 23:30:00"
End If
For j = 3 To 100 Step 1
objExcel.Cells(j, 1).Clear
objExcel.Cells(j, 2).Clear
objExcel.Cells(j, 3).Clear
objExcel.Cells(j, 4).Clear
objExcel.Cells(j, 5).Clear
objExcel.Cells(j, 6).Clear
Next
intRow = 3
i = 0
For f = 0 To UBound(Incas, 2)
AZS = Incas(0, f)
nTo = Incas(1, f)
Term = Incas(2, f)
DataIn = Incas(3, f)
Addres = Incas(4, f)
Phone = Incas(5, f)
objExcel.Cells(intRow,1).Value = AZS
objExcel.Cells(intRow,2).Value = nTo
objExcel.Cells(intRow,3).Value = Term
objExcel.Cells(intRow,4).Value = DataIn
objExcel.Cells(intRow,5).Value = Addres
objExcel.Cells(intRow,6).Value = Phone
intRow = intRow + 1
Next
'For k = 0 To 6
' objExcel.Columns(k + 1).AutoFit
'Next
objExcel.DisplayAlerts = False
objExcel.ActiveWorkbook.SaveAs("*.xlsx")
objExcel.DisplayAlerts = True
objexcel.Quit
conn.Close
Wscript.Sleep(180)
Call OtpravkaPochti
Recordset = ""
conn.Close
'------------------------Процедура отправки почты если есть запись в таблице-----------------------------------------
Sub OtpravkaPochti()
Const EmailFrom = "почта"
Const EmailPassword = "пароль"
Const strSmtpServer = "сервер"
Const EmailTo = "адресаты"
' Кому будет отправляться e-mail
Const AttFile = "*.xlsx" 'Указываем путь к файлу, который необходимо вложить в сообщение
Set objEmail = CreateObject("CDO.Message")
objEmail.From = EmailFrom
objEmail.To = EmailTo
objEmail.Subject = "текст"
objEmail.Textbody = "текст"
objEmail.AddAttachment(AttFile)
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = EmailFrom
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = EmailPassword
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSmtpServer
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/languagecode") = 1049
objEmail.BodyPart.CharSet = "windows-1251"
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext") = true
objEmail.Configuration.Fields.Update
objEmail.Send
WScript.Quit
End Sub
'------------------------Процедура отправки почты если нет записей в таблице-----------------------------------------
Sub Pochta()
End Sub
sub checkosx86x64args()
' если скрипт запущен из %windir%\system32\ под win x64 - перезапуск из %windir%\syswow64\
dim cmdln, arg
with createobject("WScript.Shell")
if replace(lcase(wscript.path), lcase(.expandenvironmentstrings("%windir%\")), "") = "system32" then
cmdln = replace(lcase(wscript.fullname), "system32", "syswow64")
if createobject("scripting.filesystemobject").fileexists(cmdln) then
cmdln = cmdln & " """ & wscript.scriptfullname & """"
for each arg in wscript.arguments
cmdln = cmdln & " """ & arg & """"
next
.run cmdln
wscript.quit
end if
end if
end with
end sub
Please help me with a problem.
Please help me with a
problem.Thank you very much Jesper for sharing this. My program also calls Excel.application in
the script and it was never working after we moved the script to Win 2008 R2 server. After creating these 2 folders, it started working.
C:\Windows\SYSWOW64\config\systemprofile\desktop\
C:\Windows\System32\config\systemprofile\desktop\ -
Shell script intermittently not running [AwesomeWM]
Hi all!
I'm trying to get my Logitech G13 running on login but intermittently having issues with it. Most of the time, I'd say maybe 80%, it works however sometimes I believe the shell script to apply permissions does not properly execute.
I created shell script g13permission inside /home/milk/startup/ then added /home/milk/startup/ to my ~/.bash_profile
the script is simply:
#! /bin/bash
#Set permissions for G13
sudo chmod a+rw /dev/uinput
I then ran
chmod 755 g13permission
from inside the startup folder
I'm using AwesomeWM, so to handle it on boot I added the following to my rc.lua:
awful.util.spawn_with_shell("g13permission")
awful.util.spawn_with_shell("g13d")
awful.util.spawn_with_shell("cat default.bind > /tmp/g13-0")
So like I said, maybe 80% of the time when I log in it properly executes everything and my G13 shows the linux inside logo and all buttons work
but then the other 20% of the time my G13 LCD will change colors but not show the logo or respond to button presses, which is also what happens if I, rather than auto starting with awesome, run everything through terminal without first chmod'ing /dev/uinput
Any help would be appreciated
Last edited by milkman (2015-04-28 17:30:46)Thanks for the reply, I've updated my OP with proper code tags.
The g13 is a gaming keyboard https://wiki.archlinux.org/index.php/Logitech_G13
I'm attempting to use the 'g13' outlined section
I will look into udev rules, thanks again. -
Command not running successfully
I am installing Weblogic and got to the point where I needed to deconfigure my database on a Windows server 2008. I have to run the following command to deconfigure the database - /bin/emca -deconfig dbcontrol db -repos drop
but anytime I run that command, I get "The system cannot find the path specified" error. I know the path exists. I actually cd into the oracle home location and can see /BIN/ and emca in there but I constantly get the same error. Help is needed.these do not work either may be I'm doing something wrong. I open the command line and type 'id' and get "id is not recognized as an internal or external command, operable pro9gram or batch file.
I also type 'id env | sort" and get a similar error message as above -
WMI scripts are not running on Windows 8.1
Hi, I am using the below JavaScript to get the client IP and mac address in my application:
function getIP() {
var wmi = GetObject("winmgmts:{impersonationLevel=impersonate}");
e = new Enumerator(wmi.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True"));
for (; !e.atEnd(); e.moveNext()) {
var s = e.item();
alert('Mac: ' + s.MACAddress + ' IP: ' + s.IPAddress(0));
This java script is working fine on Windows XP/7/2008R2, but not on Windows 8.1.
On Windows 8.1, the below script throws error:
var wmi = GetObject("winmgmts:{impersonationLevel=impersonate}");
Line: 10
Error:'GetObject' is undefined
I am using Lenovo ThinkPad to test this script, below are the system details:
Windows Edition: Windows 8.1
Processor: Intel(R) Atom ™ CPU Z2760 @ 1.80 GHZ
Installed Memory (RAM): 2GB
System Type: 32-bit Operating System, x86-based processor
Pen and Touch: Full Windows Touch Support with 5 touch points
Production ID: 00179-60394-05138-AAOEM
About Internet Explorer:
Version: 11.0.9600.17105
Update Versions: 11.0.7 (KB2964358)
Product ID: 00150-20000-00003-AA459
Please help me it is really very urgent.Hi,
I am afraid GetObject function in JavaScript is not supported in IE9 or later, see:
GetObject Function (JavaScript):(This function is not supported in Internet Explorer 9 (standards mode) or later.)
And regarding the scripts modification, we'd better seek help in the scripting guys forum for a better assistance:
The offical scripting guys forum!
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
Best regards
Michael Shao
TechNet Community Support -
The entire script did not run - does this mean I have problems?
I have never used Foxfire before and have no idea whether or not everything I need was installed. A meeting I have on Wednesday requires this to be working, and I do not know how to begin.
See:
iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows
The iPod is also a mobile device.
Maybe you are looking for
-
Boot Problems- Hard Drive Damaged? Something Else?
Yesterday my MacBook Pro went to the blue screen of death after freezing for a few minutes. When I restarted it, I couldn't get beyond the apple with the spinning graphic below it. I tried resetting the SMC and PRAM, archiving and reinstalling (which
-
Just got a new iPod touch for my daughter. Have connected to Wifi as I do via my iPhone but it is unable to read the Wifi connection even though the Wifi symbol is shown. My Iphone seems to have a problem too however other devices in the house can co
-
R12.1.3 AP Module Rounding Difference during Withholding Tax Calculation
Problem Summary: Figures does not “round” While we make a payment for multiple withholding tax invoices in one go. For eg We pay Withholding Tax to a Tax Authority in one go @payment time. In this scenario there are 3 invoices which needs to be paid
-
hello, can anyone please tell me whats d best way to clean out all data - phone numbers, photos, videos maps, apps all from d from my n8, i have backed up necessory info usin ovi sync, i just want a clean fresh start with d phone is too full Solved!
-
Is there a way to get Shells by Z-Order?
If there are more than one Shell for a Display, some Shells could cover others, I want to get all Shells by Z-Order: Top first. Is there a way? Thanks. Frank