System Hardening procedure
Has anyone written a system hardneing procedure for ArchLinx, say similar to
http://members.cox.net/laitcg/new/ss.html
or know one that can be used, or steps that are applicable?
chhers,
John :?:
It would be really cool though if some expert in security could write a similar wiki entry specific to Arch. I'm sure there are plenty of users here who know manu useful tricks. Hell.. we can even throw some tips together in this thread.
Similar Messages
-
Creation of System Stored Procedure in SQL Server 2012 & SQL Server 2012 R2.
Hi all,
I am stuck at a point I am looking for a system stored procedure named 'sp_dboption' in SQL Server 2012 & R2 but could not find.
Searched for it on the net and found that, this stored procedure 'sp_dboption' is now obsolete. So I tried to copy the content of 'sp_dboption' stored procedure from SQL Server 2008 R2 and create new system stored procedure with this name 'sp_dboption' in
SQL Server 2012 but was unable to create the system stored procedure.
Can you guys please tell me how to create system stored procedure in SQL Server 2012 & SQL Server 2012 R2. The reason of why I want to achieve this is because I have used 'sp_dboption' system stored procedure in my application to create a database.
As 'sp_dbotion' stored procedure is present in SQL Server 2008 R2 I am able to create the database in SQL server 2008 R2 but not in SQL server 2012.
Can you please guide me how to create system stored procedure. I am out of luck.
Please assist me, thanks & looking for help at the earliest. Hope someone will come to the fore and help me.Hi Vishwajeet,
If you tried to create any object in the sys schema, you will get the error below.
The specified schema name "sys" either does not exist or you do not have permission to use it.
So I am afraid creating any object in sys schema is not supported by SQL Server. Here is a similar link for your reference.
How to create table in SYS schema in SQL Server?
Though sp_dboption is not in SQL Server 2012, does creating a user-defined one with the same content in 2008 make any difference in your business? You just need to specify the fully qualified name dbname.dbo.sp_dboption.
If you are still interested in creating a system sp_dboption, you can register it with the
sp_ms_marksystemobject.
See
Creating Your Own SQL Server System Stored Procedures.
Eric Zhang
TechNet Community Support -
MS SQL Server system stored procedures can't be migrated into Oracle 11g
During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END;During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END; -
APP-PAY-06153 SYSTEM ERROR:Procedure at step 1
Hi All,
I select Inventory ,Vision Operations(USA) responsibility---------->Setup----->Oraganisations----->organisations
when i selected that getting the below error.
APP-PAY-06153 System Error:Procedure INIT_FORMS STEP 1
cause: The Procedure INIT_FORMS created an error at STEP 1
ACTION: contact your system administrator quoting the procedure INIT_FORMS and step 1.
any suggesions on this.
Regards,
Nag.931161 wrote:
I having the same issue in CA Super HRMS Manager Responsibility>Enter and Maintain Form when I have tried to open giving me this error.Do I need to set up under this responsibility ?
profile options HR:Security Profile:What value to select?
and HR:Business Group :What value to select?
HR:User Type ...What value to select?It depends on your setup.
http://www.oracle.com/pls/ebs121/ranked?word=HR:Business+Group&partno=e13477
http://www.oracle.com/pls/ebs121/ranked?word=HR:Business+Group&partno=e13471
Thanks,
Hussein -
Dear Friends,
I'm finding the below mentioned error while I'm attaching the salary basis & saving the same,
APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4.
Can any1 pls guide me to ahy facing the above error?
Guru KGuru2Win wrote:
Dear Friends,
I'm finding the below mentioned error while I'm attaching the salary basis & saving the same,
APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4.
Can any1 pls guide me to ahy facing the above error?
Guru KPlease see if these docs help.
Error Saving A Salary Basis - pay_us_emp_dt_tax_rules.Insert_fed_tax_row [ID 302878.1]
DATA: HR_ENTRY.GET_ELIGIBILITY_PERIOD HAS CREATED AN ERROR AT STEP 4 [ID 967419.1]
There is No List of Values (LOV) for the SUI State on the Federal Tax Record [ID 1508293.1]
Thanks,
Hussein -
Replicating System Stored Procedures in MSA Setup
I started replicating system stored procedures in my MSA environment due to the fact that commands such as sp_rename was not making it to my MSA server. This caused some issues downstream resulting in the DSI goign down and having to manually apply these statements on the target server.
My question is, are there any cons/drawback to enabling such option
In reading the manual one of the requirements was that
Make sure that both the primary and replicate data servers are the same version of Adaptive Server.
I am Replication from Sybase Cluster Edition 15.7 SP131 to Sybase SMP 15.7 SP131. So far I have not encountered any issues but I don't like surprises.
Other requirements are met
When replicating DDL – the primary and replicate databases must have the same login names and passwords; the DSI uses the original server login name and password to log in to the replicate database.
For me the logins are identical on both servers so this is not an issue
To replicate DDL and system procedures:
Mark the primary database using sp_reptostandby.
Set the RepAgent parameter send warm standby xacts to true—even if there is no standby database
I also have a warm standby setup and I am using the logical connection as the primary dataserver so these conditions are also met
ThanksI started replicating system stored procedures in my MSA environment due to the fact that commands such as sp_rename was not making it to my MSA server. This caused some issues downstream resulting in the DSI goign down and having to manually apply these statements on the target server.
My question is, are there any cons/drawback to enabling such option
In reading the manual one of the requirements was that
Make sure that both the primary and replicate data servers are the same version of Adaptive Server.
I am Replication from Sybase Cluster Edition 15.7 SP131 to Sybase SMP 15.7 SP131. So far I have not encountered any issues but I don't like surprises.
Other requirements are met
When replicating DDL – the primary and replicate databases must have the same login names and passwords; the DSI uses the original server login name and password to log in to the replicate database.
For me the logins are identical on both servers so this is not an issue
To replicate DDL and system procedures:
Mark the primary database using sp_reptostandby.
Set the RepAgent parameter send warm standby xacts to true—even if there is no standby database
I also have a warm standby setup and I am using the logical connection as the primary dataserver so these conditions are also met
Thanks -
Hi Experts,
I'm finding the below mentioned error while I'm saving assignment with Salary Basis, Location and Payroll.
APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4.
Please note that I am able to save the record if I do not any one of Salary Basis, Location. Payroll. It is basically happening on creating default tax.
Can anyone pleas let me know if you have facing the above error and resolved?
GuruHi Guru,
Did you check -
Error Saving A Salary Basis - pay_us_emp_dt_tax_rules.Insert_fed_tax_row (Doc ID 302878.1)
Cheers,
Vignesh -
System refresh procedure!!!
Can anyone of you please help me in understanding the system refresh procedure??What it is used for and how does it help an organisation!!!
Read
http://help.sap.com/saphelp_nw70/helpdata/EN/a2/2f0c173a5e43d19585724239ff4de7/frameset.htm
Markus -
I am newbee in Oracle.
Are there any system stored procedures in Oracle to create a file on file system, as in SQL Server such as xsp_UpdateSignalFile, sp_makewebtask.
Pls advise.
ThanksThanks for the information.
I want to create a file on windows file system. Is that feasible? I tried with below code but got errors.....
PROCEDURE p_testproc
IS
v_file UTL_FILE.FILE_TYPE;
v_filename varchar2(40):='dep.log';
v_locat varchar2(200):='c:\tmp\';
BEGIN
dbms_output.put_line('proc begin.....');
if UTL_FILE.is_open(v_file) then
dbms_output.put_line('file opened');
else
dbms_output.put_line('file closed');
end if;
v_file:=SYS.UTL_FILE.FOPEN(v_locat,v_filename,'w');
UTL_FILE.FCLOSE(v_file);
dbms_output.put_line('File has been created');
END p_testproc;
Any help would be appreciated.
Thanks in advance -
Quickpay error - APP-PAY 06153 System Error PROCEDURE QP_SET_BUT1
In time of execute Quickpay for person,from the Quickpay screen below error coming.
APP-PAY 06153 System Error PROCEDURE QP_SET_BUT1.SET_BUTTONS has created an error STEP1.For this employee weekly to Biweekly assignment change between pay period.
Please respond asap.It is urgent.Please post the details of the application release, database version and OS along with the steps you follow to reproduce the error (navigation path)
In time of execute Quickpay for person,from the Quickpay screen below error coming.
APP-PAY 06153 System Error PROCEDURE QP_SET_BUT1.SET_BUTTONS has created an error STEP1.For this employee weekly to Biweekly assignment change between pay period.Is QP_SET_BUT1 a custom package? If yes, what is the status of this package?
Please respond asap.It is urgent.For urgent issues, please log a SR.
Thanks,
Hussein -
Hi Experts,
Here my client wants to move their system PRD to a new server that they acquired. The environment is Windows on Oracle 8.1.7 with 4.6 C.
So i would like to know that best way of moving the system to the new server.
The Homogeneous System Copy is there, but in 4.6C Version i am confusing to chose the Export option from the Kernel CD.
Previously i had done the System Copy with ECC 5.0. But in this version i am confusing.
pliz do advise me on this.
I would also be grateful if anyone can provide me with documentation on how to execute this procedure.
Waiting for your kind reply.
Regards,
Praveen MeruguHi Praveen,
If you only need to move a system into from one server to another with the same OS platform and DB Platform, then you can use System Copy.
if you are confused how to do this, then:
1. Install SAP instance and DB Instance in the new server, make sure the SID is the same with the old server.
2. Do offline backup of the old SAP Instance
3. restore the backup to your new server, make sure you delete all data files in the new server before you do this
4. generate the control file script in the old server
5. copy the script to your new server
6. execute the script to generate all the control file
7. Startup the database
Regards,
Anggana -
Homogeneus system copy procedure
Hi Gurus,
I have the following scenario:
ERP Netweaver 7.0 SR2(SAP_BASIS 709) Java + ABAP stack with Oracle 11.2.0.2 recently upgraded. I have to make a copy to the test system QAS.
The question is if i can use new sapinst versions, (obtaining the newers installation master and Java CDs like SR3 or EHP 2) and its procedures to make the copy.
Thanks in advance.Alejandro Gallo wrote:
Hi Gurus,
>
> I have the following scenario:
> ERP Netweaver 7.0 SR2(SAP_BASIS 709) Java + ABAP stack with Oracle 11.2.0.2 recently upgraded. I have to make a copy to the test system QAS.
> The question is if i can use new sapinst versions, (obtaining the newers installation master and Java CDs like SR3 or EHP 2) and its procedures to make the copy.
>
> Thanks in advance.
Your question is quite confusing. You are saying ERP Netweaver 7.0 but basis version is 709. There is no 709 version.
If your release is ERP 6.0/Netweaver 7.0 then you have to use installation master DVD of this version only. You cannot use EHP2 version DVD. And procedure of system copy is more or less same for 7.0 release or 7.02 release. You can check system copy guide on http://service.sap.com/instguides.
Thanks
Sunny -
Calling System Stored Procedures (Eg: sp_help)
Hi,
Can you help me on how to call the System SPs like sp_help using JDBC?
I'm using com.sybase.jdbc2.jdbc.SybDriver. I know that this will produce multiple ResultSet. Hope I can use the cstmt.getResultSet() to handle multiple ResultSets.
Code Snippet:
try {
cstmt = con.prepareCall("{call " + env + "..sp_help (" + table + ")}");
cstmt.setString(1, table);
if (cstmt.execute()) {
rs =cstmt.getResultSet();The stmt.execute() is returning false. Can you help me on this!!Bhavin:
You can call any stored procedures or functions which belong to any schema as long as you have thr proper privileges.
As long as you are granted as the following by SYS or DBA:
grant execute on ABS to SHAH;
You should be able to execute ABS regardless what's your client software (VB, JAVA, JSP, or SQLPLUS).
Jack
null -
Get System Stored Procedure Data in variables
Hello all Forum Members,
I am new to SQL Server.
My Requirement is that i want to get sp_helpuser procedure data in select query variables.
is it Possible?
Please Help.Hi Prashanth,
It works as per my requirement.
But, Can it be achieved without creating table type variable i.e by creating simple variables ?
Thanks very much for the reply.
its possible to get stored procedure resultset using a select as per method 2 below
http://sqlblogcasts.com/blogs/madhivanan/archive/2007/11/26/select-columns-from-exec-procedure-name-is-this-possible.aspx
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
I am getting this error while termination of an employee who is having 2 assignment (Terminated,Active).
Thank You
Nitin Maheshwaricheck -
PERWSTEM Enter Final Process Date APP-PAY-06153:Procedure pay_us_tax_internal.maintain_tax_percentage at Step 46 (Doc ID 365657.1)
Maybe you are looking for
-
How to see a stream of a signal in the Data View while monitoring a signal.
Hi! I'm migrating from an older data acquisition software for SignalExpress. With the DAQ old had a way to monitor the signal so that the software screen I saw on the timeline and as I increased or diminished the scale of the X axis (time), I saw mor
-
HP Officejet Pro 8600 is not recognised on the network
HP Officejet Pro 8600 Printer runs on home network (wired) through PC with Windows Vista Business , Service Pack 2. I have printed off HP Configuration Page and the WINS status shows Primary (and Secondary) Server Addresses as 0.0.0.0 Printer is visi
-
Cant import photos from my iphone 4 to iphoto (8.1.2)
i can no longer import photos from my iphone 4 to iphoto (8.1.2). it freezes on "preparing to import" each time. Any suggestions?
-
No Synchronisation between iPhone and McBook possible
I tried many times to synchronize my iPhone 4S with my MacBook and didn't succeed. I cannot find in the McBook after connecting my iPhone withe the PC the Button "Info" where I suppose to mark Contacts etc. As Far I know the software of both items ar
-
I have a macbook air operating system 10.6.8 - what system do I upgrade to to run java
I have a macbook air - currently running operating system 10.6.8 - I need to install java - what system do I upgrade to??