Every second day i have to recycle errorlogs [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
On the production server when xp_readerrorlog cmd is run the size will show approx 500000 daily i have to recycle error logs the errorlogs contains messages of all the successful login and not successfull login details. i need both the information please suggest what i can do.

If you're capturing every single login and failed login into your error log along with all the other stuff that gets written to the error log, then your error log is just going to grow and there's nothing you can do about that.
If you need to capture logins and you're using SQL Server 2008 or better, I'd suggest taking a look at Extended Events. This will output to a different file, which you'll still have to manage, but it won't be filling up your error logs.
For 2005 & earlier you can do similar work with a server-side trace, but it's not as efficient as extended events. Here's an article on how to set up a server-side trace from Gail Shaw.

Related

SQL Server: "Could not find the Database Engine startup handle" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
When trying to install SQL Server Express 2016 from here for database related software projects, I get the error message as the loading bar finishes, stating:
"Could not find the Database Engine startup handle".
I've looked and tried solutions from other questions similar to this, but with no luck.
I answered my question below as I found the answer out eventually and I feel people might be going through the same struggle! :)
The installation failed for me due to using the standard/default settings during installation. When doing this, the SQL Windows service will run under the NT Service\MSSQL$V2016 account.
After changing this login to a valid login (an existing local user), the server started correctly, and SQL Server Express 2016 installed and worked as it should..

NickServ HexChat Client Locked Username [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am using the HexChat client on my local machine. I have been using an unregistered nick, eg. foobar. When my connection has dropped I get a message when I try to reconnect:
foobar is already in use. Retrying with foobar01...
foobar01 is already in use. Retrying with foobar02...
This has been like this for weeks. My actual username I am trying to use is not something anyone wold be using so it seems it is locked. Obviously I cannot register the nick because I can't connect with it.
What's the solution?
If you are saying it is happening only temporarily after disconnecting that is often referred to as a ghost and your old connection just hasn't timed out. If you register the nick you can forcefully disconnect it otherwise you wait.
If it is always happening and another user is actually using it /whois $thenick then there is nothing you can do about that since you didn't register it.

SQL active connections increasing abruptly [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
In my application some time the SQL active connections were increasing abruptly. During the period we can't access the database from Management studio itself.
This problem occurs every 1 hour or 2 hours once and it stands for 20 minutes. I have checked the CPU utilization and RAM utilization, during the period no CPU resources were used. Once the problem resolved all the connections are released and the system start using the CPU resources after that only.
What I need to check for this problem? There is no additional process / program accessing the database during the period.
If you run SQL Server Profiler, to see the sql calls being made, which may give you a clue to the cause?

Retrieve real-time SQL requests between Oracle and Tomcat server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm running a LoadRunner script which generates "Missing IN or OUT parameter at Index:: 1". I think this may come from a sql statement. So I want to get the SQL requests in real-time between my Tomcat server and the Oracle database. I tried to seach on Oracle Enterprise Manager, but didn't get anything useful (I'm not familliar with this tool). So I wonder if there are something that can display the SQL requests(statements) and in what time they have been executed. I don't care about the performence, things like how much time they take, how many percentage of CPU they use, ect..
Is there some tools can do this job? Thanks a lot in advance.
Looks at your tomcat log and your database transaction logs if you are looking for a time context for when a particular event occurs. If you are looking at frequency, performance, top talkers on your DB then you want to invoke whatever profiler you have your your particular database solution.

Backup Exec freezing on inventory and clean jobs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Overall, I need to be able to run backup jobs which are already in place, but are failing whenever run, see my last thread: http://www.reddit.com/r/techsupport/comments/1edqsx/ive_been_asked_to_backup_windows_servers_using/[1]
Today, I've been trying to clean the tape drive using a cleaning cartridge which we bought. I inserted the tape, imported it, and marked it as the cleaning slot within backup exec.
Now, however, I'm running into new problems I haven't encountered. First of all, when I try to perform a clean job within Backup Exec, the job starts and makes it to 17%, at which point it returns to 10 percent . It just does this cycle over and over again, never getting above 17%.
Next, I tried inventorying the tape library. I run the job and it begins, but always freezes indefinitely at 30%.
Does anybody have an idea what might be happening, and what I might do to get it working properly?
Verify that the firmware on the hardware is up to date. Also be sure that you are using Symantec drivers on the tape drives. You can do this by running the Tapeinst.exe command.
Edit... Also posted on your Redit thread