Just a note to check the obvious...
When you call servckhtmlstat, it tells the apache webserver to dump stats to the file you specify. This is done by the apache user, so the file is owned by the apache user.
If you run are running this script under a different user, your own user for...
I would like to see the cron entry you have, but you probably need to put the whole path to ip.php in your cron command:
00 00 * * * /path/to/ip.php
There is a fundamental difference between running a command under cron, and running a command directly.
Firstly, the command is run under the...
The sudo command is only really intended to enable a user to run a specific command as the superuser or another user.
The correct method is to create a group which the root user and your 'other' user both belong to, then create the directory, and ensure that whenever either root or the user...
The following command will delete all contents of a file named myfile.
grep foo myfile > myfile
The reason for this is that the shell 'opens' the file that will be written to (in overwrite mode), before starting the grep process, or any other process preceeding the '>' character...
You can add aliases to your .mailrc file in the form:
alias NewAlias { Address... | PreviousAlias... }
..and you need to use the .forward file to send your email to a program or script you have explicitly designed to manage your rule set.
I would strongly advise that you do not use...
The ^C command sends an Interrupt signal (2) to the running process.
Use the trap command to ignore this signal:
trap "" 2
Loosely, this command means: when you receive a signal 2, do nothing ("")
Use 'man trap' to find out more about this command
Just so we dont get lost on unnecessary details, the code I gave should have read:
cat <<-EOT | mysql --user=user --password=pass mydb
select NAME from ENV)
EOT
I am running the select statement from a unix script, and want the unix script to manage only the valid values, not the table name.
For example, the following statement:
cat <<-EOT | mysql --user=user --password=pass mydb
select * from ENV where NAME="$1")
EOT
Will return the...
I've tried to find this in the MySQL reference, and done some online searches, but I cant find any reference to this issue:
select NAME from DPLENV;
+------+
| NAME |
+------+
| BAR |
| FOO |
+------+
2 rows in set (0.00 sec)
I want the output formatted so that the...
Amarg,
Please post more details of the job that is running on Server_1.
- Is this a script? If so, please post the script or
at least the relevant section
- What mechanism do you use to create the directories
remotely? DO you use 'rsh' or 'ssh'?
Christian
A General Note on 'mgetty':
Sun have released a patch to mgetty to solve a potential vulnerability which could cause maliscious attackers to take control of a system.
If you are considering using this mechanism, please be sure you have updated your system.
Its probably me, but I have some dumb questions:
1) Do intend the UNIX server to respond to an incoming
ISDN call? Or will the server Dial-Out on some
event which demands connectivity?
2) If you are responding to an incoming call, what
session would you like to get when...
Corrections to the table creations pointed out in an email - I was in a rush when I typed it so...
CREATE TABLE CLASS (
ID INT NOT NULL DEFAULT 0 AUTO_INCREMENT PRIMARY KEY,
group INT NOT NULL UNIQUE
);
CREATE TABLE FOO (
ID INT NOT NULL DEFAULT 0 AUTO_INCREMENT...
This is the first time I've created my own RELATIONS in the otherwise glorious mySQL, so I need some insight on the following:
I have one table meant to carry a list of possible values, which may grow/shrink over time for example:
CREATE TABLE CLASS (
id INT NOT NULL DEFAULT 0...
Use Salems answer if you have GNU tar.
If not, you need to script your own solution. You dont describe how or why the file is moved, so assuming its a rotated log file, write a script 'mytail' that does something like the following:
(1) Start a background sub-process tail command sending...
There should be a file named installNTService.cmd with your distribution. Take a look inside, its quite self-explanatory.
In a bit of a hurry at the moment - will call back later if you're not fixed.
C
A couple of questions first.
1) I consider the Admin Console to be the HTML GUI that connects to the Administration Server Process. Do you mean this GUI or the Server Process.
2) Can you show the tail command you are using please? (re-test it then post the same commands you used.)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.