Hello all,
I'm trying to use gethostbyname_r function with 6 arguments in one of my functions. But the call to this crashes the program. Kindly help me in resolving this...
Compiler Info:
Linux target: i686-hardhat-linux
version: 3.3.1
The following is the piece of code I'm trying to... (1 Reply)
Hi,
Could anyone tell me the reason why the following program crashes?
class A {
int x;
public:
A() {
cout << "from A()" << endl;
}
~A() {
cout << "from ~A()" << endl;
}
};
class B : public A {
public:
B() {
cout << "from B()"... (2 Replies)
Hello,
I'm running tomcat on linux and using Xvfb as a X server for creating the pdf's (gui components).
I'm running the Xvfb in a different proccess than the tomcat.
If the Xvfb is shutdown and no pdf was yet created then everything is ok.
but if i create a pdf and then shutdown the Xvfb... (0 Replies)
Hello
The KDE konsole crashed after I changed the font size to 64. And It crashes every time when started. How can I get it back?
Thanks.
---------- Post updated at 08:23 AM ---------- Previous update was at 07:48 AM ----------
solved, I finally find the config file called consolerc. (0 Replies)
I am running openSUSE 11.2 with KDE4.5 on my eMachines e525. I just did a "zypper up" on my system and it reported that Chromium was going to be updated. I agreed and the when the update was finished I shut down Chromium and started it again. It flickered on the screen for a moment and crashed.... (6 Replies)
Production server crashes when there is no traffic on it. Can only recover by going to ALOM and reboot the server. This seems to happen about the same time every month. The only good thing is the server is not in production at the time of the crash.
I have been unable to locate any information in... (5 Replies)
Can someone tell my why every time I try to use 7z it freezes my system? I can't move my mouse, I can't type, I can't kill my xsession. I then restart my system and everything returns to normal. When I try to use 7z my system again freezes. (11 Replies)
Hi,
Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine?
#include <iostream>
#include <cstring>
using namespace std;
class CString {
char* m_data;
public:
CString() :... (6 Replies)
The Apache server suddenly stops. I am running Debian Jessie
Here are some diagnostics:
root@meow:/var/www# apachectl configtest
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress... (4 Replies)
Discussion started by: Meow613
4 Replies
LEARN ABOUT REDHAT
upsdrvctl
UPSDRVCTL(8) Network UPS Tools (NUT) UPSDRVCTL(8)NAME
upsdrvctl - UPS driver controller
SYNOPSIS
upsdrvctl -h
upsdrvctl [-t] [-v] (start | stop | shutdown | status) [ups]
DESCRIPTION
upsdrvctl provides a uniform interface for controlling your UPS drivers. You should use upsdrvctl instead of direct calls to the drivers
whenever possible.
When used properly, upsdrvctl lets you maintain identical startup scripts across multiple systems with different UPS configurations.
OPTIONS -h Display the help message.
-t Enable testing mode. This also enables verbose mode. Testing mode makes upsdrvctl display the actions it would execute without
actually doing them. Use this to test out your configuration without actually doing anything to your UPS drivers. This may be
helpful when defining the 'sdorder' directive in your ups.conf(5).
-v Enable verbose messages.
COMMANDS
upsdrvctl supports four commands - start, stop, shutdown and status. They take an optional argument which is a UPS name from ups.conf(5).
Without that argument, they operate on every UPS that is currently configured.
start Start the UPS driver(s).
stop Stop the UPS driver(s).
shutdown
Command the UPS driver(s) to run their shutdown sequence. Drivers are stopped according to their sdorder value - see ups.conf(5).
WARNING: this will probably power off your computers, so don't play around with this option. Only use it when your systems are pre-
pared to lose power.
status Check the status of the UPS driver(s).
If every UPS that has been checked is running, then the exitcode will be 0. If one seems to be missing, the exitcode will be 1.
BUGS
The status checking is rudimentary, and really only looks for the presence of .pid files. If you really want to know if your UPS drivers
are alive and well, upsmon(8)'s NOCOMM notifier does a fine job.
SEE ALSO nutupsdrv(8), upsd(8)ups.conf(5)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/
NUT mailing list archives and information: http://lists.exploits.org/
Wed Oct 16 2002 UPSDRVCTL(8)