PHP Code:
Hello guys!
Does anyone have a solution to trace graph windows not loading properly. I am using ubuntu 14.10 and when i run something like "paulchiedo@paulchiedo-virtual-machine:~/Documents/tracegraph202$ ./trgraph /home/paulchiedo/mobilesense.tcl" I get "ERROR: No data! choose another time interval" on the terminal. The three trace file windows open but the problem is that for the "Graph's" window only the -file, -options on the menu bar is highlighted. For the "Trace garph 2.02" window -file, - Options menus are highlighted but no data apears and finally for the "Network Information" window only -Options on the menu tab is highlited.
* It is however noteworthy that this problem did not start from the point of installation as the trace graph had worked fine prior to this problem..
I would really appreciate it if someone would be so nice to help me through this problem. Thank you in advance!
Hello
I want to make CentOS-7 ISO to my pen drive.I had try this now But it not woks How to make pen drive as boot CD for centOS 7 I m using now Red Hat 6.
PHP Code:
dd if=CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sdb1
PHP Code:
/dev/sda1 495844 30604 439640 7% /boot
/dev/mapper/vg_tuhin-lv_home
251551508 8620468 230152956 4% /home
/dev/sdb1 4209322 4209322 0 100% /media/CentOS 7 x86_64
Hello
I have installed a CentOS 6.4 on VmWare.
Now, after several days of using it, it suddenly does not boots. There is a problem with its initialization, here is the error:
Kernel Panic : Unalble to init. Try passing init= option to the kernel.
Pid 1 : Swapper not tainted.
I have used CentOS.iso to rescue it, but it still does not solve it.
My grub.conf contains:
PHP Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-358.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=UUID=6082bcf5-00ba-4bf8-86ea-9821d774cb6f rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.el6.x86_64.img
How should I solve it then? Thanks in advance
Hi all,
i have installed ns-2.33 and also i have ns2.31_fhmip.patch.gz. How to patch ns2.31_fhmip.patch in ns-allinone-2.33/ns-2.33
when i tried to untar
it gave me error
PHP Code:
chase@chase-desktop:~/ns-allinone-2.33/ns-2.33$ tar -zxvf ns2.31_fhmip.patch.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Thanks & Regards
Pon
Hi all,
I'm new to Kali and couldnt get my wireless adapter working. I followed some tutorials on the internet but when I tried to install the driver I get the this:
PHP Code:
root@kali:~/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.18.0-kali3-amd64/build M=/root/rtl8812AU_8821AU_linux modules
make: *** /lib/modules/3.18.0-kali3-amd64/build: No such file or directory. Stop.
make: *** [modules] Error 2
Is there someone how made it with the installation and can help me?
If something is missing, please ask me.
Sorry for my English :P
Wzalm
I am trying to compile a small C program on Slackware 13.37 that uses libpcap libraries. When I do
PHP Code:
gcc app.c -lpcap
it throws error:
PHP Code:
/usr/stuff/app/libpcap/pcap.h:46:25: fatal error: sys/types.h: No such file or directory
If I correctly understand, this has something to do with not having
PHP Code:
kernel-headers
installed. If so, how can I install kernel-headers on my system? Or am I misunderstanding the problem?
Also, the directory where /sys/types.h is supposed to be located is completely empty - /usr/include/
hello,
i am trying to make a table from some files. i used this to record how much "RD_" field i have in my file.
Quote:
grep -o 'RD_' $f|grep -c 'RD_'
forexample i got 5 "RD_" fields now i want to print 5 number of fields from another file starting from 2nd field. i did it mannully like
Quote:
awk 'NR==1{print"{"$2","$3","$4","$5","$6","0.0000",""0.0000""}"","}' $file
i want to make it work together and a bit auto matic like
PHP Code:
awk 'NR==1{print"{"$2"to "$5"," apend zeros to make it total 7 fields"}"","}' $file
your coments would be apreciated
thanks alot
Hi all,
I patched ns233fhmip.tar.gz in ns-2.33. patching was successful, but on executing
ns fhmip_simula.tcl i am getting following error
num of nodes set
PHP Code:
Wrong Map agent!!!
I have installed httpd, mysql, php on a centos machine. Php executes in the browser of my machines website, mysql can be ran from the command line, but mysql within php in a browser will not work.
I know my code is syntactically correct since it will run on another Centos Lamp machine and NetBeans says it is.
My code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="300">
<title> Freeze Warn Points table Query"</title>
</head>
<body>
<?php
include("config.php");
echo $dbhost;
echo "<br />\n";
echo $dbuser;
echo "<br />\n";
echo $dbpasswd;
echo "<br />\n";
mysql_connect($dbhost, $dbuser, $dbpasswd) or die("Unable to connect to database");
echo 'Connected Successfully';
mysql_select_db($dbname);
echo "zone"." ";
echo "currentLow"." "."dateLastRep"." ";
echo "priority"." "."siteId"." &nbs p; "."siteName";
echo "<br />\n";
$result = $sql = 'SELECT zone, currentLow, dateLastRep, pri, siteId, siteName from points order by zone, pri';
$numRows = mysql_num_rows($result);
echo "Matches: ".mysql_num_rows($result);
for($a=0; $a<$numRows; $a++)
{ $rowArray = mysql_fetch_row($result);
echo $rowArray[0]." ".$rowArray[1]." ".$rowArray[2]." ".$rowArray[3]." ".$rowArray[4]."  ".$rowArray[5]."<br />";
}
mysql_close();
?>
</body>
</html>
When executed on the CENTOS lamp machine in question out puts this
"; $result=mysql_query("SELECT rpad(zone,6,'-'), rpad(currentLow,13,'-'), rpad(dateLastRep,13,'-'), rpad(pri,8,'-'), rpad(siteId,6,'-'), siteName from points order by zone, pri"); $numRows = mysql_num_rows($result); for($a=0; $a<$numRows; $a++) { $rowArray = mysql_fetch_row($result); echo $rowArray[0]." ".$rowArray[1]." ".$rowArray[2]." ".$rowArray[3]." ".$rowArray[4]." ".$rowArray[5]."
"; } mysql_close(); ?>
When I put the same code in the other machine, (it does not have the mysql database so it will not connect) displays this
204.227.112.31
apache
password
Unable to connect to database
httpd is running of course
mysqld is running
I have
mysql-server-5.1.73-3.el6_5.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
mysql-devel-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
mysql-5.1.73-3.el6_5.x86_64
php-mbstring-5.3.3-40.el6_6.x86_64
php-odbc-5.3.3-40.el6_6.x86_64
php-imap-5.3.3-40.el6_6.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
php-xml-5.3.3-40.el6_6.x86_64
phpmyadmin-2.11.11.3-2.el6.rf.noarch
php-cli-5.3.3-40.el6_6.x86_64
php-xmlrpc-5.3.3-40.el6_6.x86_64
php-gd-5.3.3-40.el6_6.x86_64
php-5.3.3-40.el6_6.x86_64
php-pdo-5.3.3-40.el6_6.x86_64
php-common-5.3.3-40.el6_6.x86_64
php-ldap-5.3.3-40.el6_6.x86_64
php-pear-1.9.4-4.el6.noarch
Installed.
I checked the php.ini files and the httpd.conf files with the LAMP machine it works on and have been unable to find any discrepancies.
Unless I missed something.
Selinux is disabled.
I know it is not my code, but some type of setting somewhere on my machine, I have not been able to find.
I have been unable to find any thing like this issue.
Thanks,
Nancy
Hi sir
I try to get a graph by using xgraph at ns2 , i want to show the loss paquet rate in graph .
i use a file awk to get it but when i try to execute "awk -f lpr.awk out.tr " an error message showen " syntax error " .
I want to know how can i get a graph using xgraph and awk code ?
Good day everyone,
I'm currently a student and as far as I'm aware I still need windows for some program I need, but I am going over to Linux.
(Thus I'm running Windows 8 at this moment)
Today I was going to install Ubuntu 14.04.01 alongside Windows 8, everything went well till I hit the 4th step (Installation type page) of the installation:
A message like follows showed:
"This computer currently has Debian GNU/Linux (Kali Linux 1.0.7) on it. What would you like to do?"
There are then 3 options available:
1) Install Ubuntu alongside Debian GNU/Linux (Kali Linux 1.0.7)
2) Replace Debian GNU/Linux (Kali Linux 1.0.7) with Ubuntu
3 and 4 is greyed out.
5) Something else (You can create resize partitions yourself, or choose multiple partitions for Ubuntu.
I just want to make sure what option to choose, I cant afford to lose all my data and windows.
Problem: Showing Kali Linux as current OS and not Windows 8.
Possible reason for showing Kali Linux as current OS:
I have a live CD of Kali Linux and ran it a few times in the past, but according to my knowledge it shouldn't have changed anything.
Maybe the 1st option is still the right one even though the current OS isn't listed right? Or the 3rd option is like a manual setting I guess.
Thanks for the time reading and helping!