Canot start a service instance in Virtuoso-opensource - instance

I can not start virtuoso. I run : ./virtuoso-start.sh and got the message:
Starting Virtuoso instance in [database]
The VDBMS server process terminated prematurely after opening the database.

Related

SQL Job Executed successfully but In the log I can see description with error code:0xC001000E

I have a job scheduled to run for every day which was running fine previously but for the last few weeks I am getting the below error message in the description(I have checked it in the log) but Job runs successfully.
Here the error message:
This error is thrown by Connections collection when the specific
connection element is not found. End Error Error: 2018-07-26
06:00:01.50 Code: 0xC001000E
Is anybody have idea where can I check this and what could be the issue?
Regards,
Priyanga
This is caused by an invalid connection manager. If this package was made from an older one, there may be components still pointing at an old connection manager. The reason that the package is still running is likely because either the objects using this connection are not being executed and have set DelayValidation to true/ValidateExternalMetadata to false, or they're disabled. There should be additional error messages with the ID of the referenced connection manager, if there's not then you can track this by configuring logging for your package. If you want to find what tasks reference this connection manager, then right click the package, select View Code, and search for the ID of the connection manager in the package XML.

Copy database fails with SQL Agent not started error, but it is running

I'm trying to copy a database to another server. I've successfully done this with these two servers several times, the last time was just a few days ago. However, now when I try to execute it, I get an error:
TITLE: Copy Database Wizard
------------------------------
Start failed for Job 'CDW_xxxx_SGSTG51DBA01_13_2'.
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch
(Microsoft.SqlServer.ConnectionInfo)
------------------------------
SQLServerAgent is not currently running so it cannot be notified of this action.
(Microsoft SQL Server, Error: 22022)
Base on this information, I immediately checked that SQL Agent was running. It wasn't, so I started it. I ran it again, but got the same error. I then double checked that the login information provided for both the source and destination servers was correct. It was.
So I'm now getting this error with verified connection information and SQL agent is running. What else could be causing this problem? Does the account running SQL agent need access to both servers?

Oracle 10g xe database error when connecting ORA-12528

I am trying to connect to my local database Oracle 10g XE however i am getting the following error ORA - 12528. This connection was working and this issue suddenly arose. I did LSNRCTL status the results are under:
What can i do to resolve this problem?
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 03-JAN-2014 15:37:04
Uptime 0 days 0 hr. 3 min. 27 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File C:\Development\oracle_xe\app\oracle\product\10.2.0\ser
ver\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ITDEV-DARIN)(PORT=1521)))
Services Summary...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status BLOCKED, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
From the error messages manual:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Cause: All instances supporting the service
requested by the client reported that they were blocking the new
connections. This condition may be temporary, such as at instance
startup.
Action: Attempt the connection again. If error persists, then
contact the administrator to check the status of the instances.
This isn't really a listener issues - the database appears to unavailable. You'll need to look at the alert log to see why. You could also try to connect locally using SQL*Plus; if you try to connect as a normal user it might give some indication (e.g. an archiver error, maybe), and if you connect as SYS and try to start up you'll probably get an even better idea. Looking for errors in the alert log might be more direct though.
Restart the DB instance as sysdba: run this command:
sqlplus / as sysdba
SQL> shutdown
SQL> startup
In my case the server run out of space so I need to delete some unnecessary files first.

Unable to execute query against a linked server inside a SQL Job

My server setup is a bit weird. One of my DB Admins added a Linked Server to my server. In the linked server properties, I see the following in the Security view:
Local server login to remote server login mappings:
Local Login Impersonate Remote User Remote Password
domain\myusername CHECKED
For a login not defined in the list above, connections will:
- Be made using the security context
Remote login: linkedserveruser
With password: **************
Therefore, when I created a stored procedure with the following:
SELECT *
INTO #TEMP
FROM LINKEDSERVERNAME.DBName.dbo.TableName
-- Update local table after processing #TEMP
And setup a SQL job, it was failing with the following message:
Message
Executed as user: NT AUTHORITY\NETWORK SERVICE. Login failed for user 'linkedserveruser'. [SQLSTATE 28000] (Error 18456). The step failed.
After, digging through documentation, I found a KB811031 article that explains this problem and suggested that I map the security context and run the job as osql.
I did not have to map the security context because (as you can see from the settings of the linked server above), it already was mapped. I changed the Type to Operating System Command as suggested. When I run the job now, I get the following message:
Executed as user: domain\MYMACHINENAME$. Msg 18456, Level 14, State 1, Server SOMEOTHERDATABASENAME, Line 1 Login failed for user 'linkedserveruser'. Process Exit Code 0. The step succeeded.
And the job quits reporting success when in fact it failed. Any suggestions on how I can get this type of stored procedure containing a query to a linked server to run as a SQL job?

SQL Server agent not getting started

I am trying to start my sql server agent but it is not getting started . Showing the following Error- Object reference not set to an instance of an object.
I had made a scheduling a job.I tried to start the services from sql server configuration
but still it shows an error.I have try to start services from command prompt also but it is showing error-1067
this is a general windows error, not specific to sql server.
Check your windows log to get more info.
You can also try try to start SQL Agent from command with the -v switch to display the output to the diag screen.