When I run "xntpdc" I get an error saying "can not find local host". If I run a "host <hostname>" and exit "xntpdc", upon returning to "xntpdc" the program gives me the same error. :confused: (1 Reply)
I am writing a program that need to be run on several machines. I am running UNIX and wanted to know if there is a command similar to ipconfig (in DOS) that would return the IP Address of the machine that I am working on. (Not just the loopback address of 127.0.0.1). (1 Reply)
Hello,
I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of all mail sent from that form, but here is a sample of what I get :
From : apache@localhost.localdomain
To : myemail@host.com
Subject : Mail ... (2 Replies)
hello guys,
this morning when I start my pc (gentoo) I get some strange errors about localhost.
"Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache
the same for my aplications, I have to use the full address of my pc instead of... (1 Reply)
Hi,
Rcping a file to localhost fails due to echo statement in .login file on a machine with RH 5.5
However, the same rcp is successful on another machine with Suse 9.2 (with the same .login). I cannot change .login file and was wondering at what could be causing this ?
Command that I am... (2 Replies)
Can someone PLEASE explain to me and advise on fix with the following error message ?
# nslookup localhost
Server: 192.168.1.1
Address: 192.168.1.1#53
** server can't find localhost: NXDOMAIN
my /etc/hosts file contains the following:
# cat /etc/hosts
# Do not remove... (2 Replies)
I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command -
export... (5 Replies)
Hi,
I have these entries in the /etc/esolv.conf:
------------
domain xxxxxx
search yyyyyy
nameserver 127.0.0.1
nameserver aaaaaaaaaaaaaaaa
nameserver bbbbbbbbbbbbbbbb
-------------
When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server.
I... (2 Replies)
Hi All!
I having an issue when trying to run snmpwalk, so the following command it returns an error:
bash-3.00# /usr/sfw/bin/snmpwalk -v 2c -c public localhost sysDescr.0
Timeout: No Response from localhost
bash-3.00#
I have checked also:
bash-3.00# svcs -a | grep sma
online ... (2 Replies)
I am getting the message - waiting for localhost.
Here are some diagnostic steps I have tried ....
root@meow:/home/ethan# cat /var/www/cgi-bin/httpd.conf
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/jkj
ServerName 127.0.0.1:80
Listen xx.xx.xx.xx:80
Listen 127.0.0.1:80
... (1 Reply)
Discussion started by: Meow613
1 Replies
LEARN ABOUT PHP
mysql_list_processes
MYSQL_LIST_PROCESSES(3) 1 MYSQL_LIST_PROCESSES(3)mysql_list_processes - List MySQL processesSYNOPSIS
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should
be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
omysqli_thread_id(3)
resource mysql_list_processes ([resource $link_identifier = NULL])
DESCRIPTION
Retrieves the current MySQL server threads.
o $
link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is
assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection
is found or established, an E_WARNING level error is generated.
A result pointer resource on success or FALSE on failure.
Example #1
mysql_list_processes(3) example
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
$result = mysql_list_processes($link);
while ($row = mysql_fetch_assoc($result)){
printf("%s %s %s %s %s
", $row["Id"], $row["Host"], $row["db"],
$row["Command"], $row["Time"]);
}
mysql_free_result($result);
?>
The above example will output something similar to:
1 localhost test Processlist 0
4 localhost mysql sleep 5
mysql_thread_id(3), mysql_stat(3).
PHP Documentation Group MYSQL_LIST_PROCESSES(3)