Red Hat / Fedora :: Get The Physical CPU Socket Count In RHEL?
Jun 30, 2011
We are working on our subscription renewal and now since Red Hat has changed their subscription model we need to give them the number of physical CPU sockets on each system.
I have tried looking thru /proc/cpuinfo as well as tried to parse data out from dmidecode but both of those solutions count each individual core as a CPU.
Is there a clean and easy way to determine the number of sockets on each system? We also use RHN Satellite to manage our systems but I believe that is pulling the same data from dmidecode.
View 3 Replies
ADVERTISEMENT
Jun 30, 2011
We are working on our subscription renewal and now since Red Hat has changed their subscription model we need to give them the number of physical CPU sockets on each system.I have tried looking thru /proc/cpuinfo as well as tried to parse data out from dmidecode but both of those solutions count each individual core as a CPU.Is there a clean and easy way to determine the number of sockets on each system? We also use RHN Satellite to manage our systems but I believe that is pulling the same data from dmidecode
View 2 Replies
View Related
Jan 11, 2010
let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.
View 3 Replies
View Related
Feb 24, 2010
I have the following perl/DBI script:
Quote:
#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr
[code].....
The error message is
[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr
View 2 Replies
View Related
Jun 4, 2010
I want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.
Any command, link or man-page anything will be helpful.
I browsed a lot but unable to find it.
View 1 Replies
View Related
Dec 7, 2010
Anyone knows the difference between a socket and TCP connection for connecting to an external system?
View 1 Replies
View Related
May 5, 2009
I had installed Fedora 10
Below is the output of uname -a
Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux
I need to enable telnet service on it, then found xinetd and telnet-server not installed,
Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm
After installation I executed below commands
Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables �F
After I had tried telnet localhost ----IT FAILED
when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR]
I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.
View 1 Replies
View Related
Jul 6, 2010
i'm writing a simple program of client socket program. Here below is the code sample which i'm writing...
Code:
//tcp_client.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include<string.h>
#include<stdlib.h>
[Code].....
the above code works fine.if we copmile and run ./a.exe 192.xx.xx.xxx 1111 and press enter it works fine..everytime it asks "Please enter the message: " and if give that will be displayed in server. but my problem is i dont want to print everytime "Please enter the message: " i just want to feed some words one by one to the socket.
View 4 Replies
View Related
Mar 30, 2009
im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:
Code:
int main()
{
int socket_fd, new_socket_fd, k;
struct addrinfo hints, *server_info, *p;
struct sockaddr_storage peer_address;
code....
View 7 Replies
View Related
Sep 15, 2009
We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.
View 1 Replies
View Related
May 14, 2010
My current Linux Version:
#more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
OS Bit is :
#uname -a
Linux <hostname> 2.6.18-128.1.16.el5 #1 SMP Tue Jun 30 06:45:51 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Now i want to upgrade to RHEL 5.3 (ie)Red Hat Enterprise Linux Server release 5.3 (Tikanga).
View 1 Replies
View Related
Nov 3, 2010
Can we upgrade RHEL 4.8 to RHEL 5.5?
View 3 Replies
View Related
Jan 31, 2010
I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error
I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?
View 1 Replies
View Related
Mar 11, 2010
I am not sure what is wrong I am dual booting with windows 7 I have partitioned correctly when I boot from the CD The first screen comes up where it says automatically boots in 10 seconds. when it finishes counting down it pauses and then goes straight to a black screen I also tried to load Ubuntu and the same thing happened. Not sure what to do?
View 3 Replies
View Related
May 26, 2010
I just tried to install Fedora 13 but after the log on count down I just get a blank screen - nothing else. The disk is still loading but no screen action at all. My graphics card is Nvidia GeForce 6150 LE.
View 11 Replies
View Related
Mar 23, 2009
I have the following trouble when I try to install Fedora 10 with a USB Flash Drive created by Fedora LiveUSB 3.6.3 [url]...ator-3.6.3.zip in a HP Mini-Note 2133 Notebook.
Everything looked ok during install, restarted the PC, get the booting count down and splash screen.
After some seconds then get this:
View 1 Replies
View Related
Jul 10, 2009
I just upgraded to Fedora 11. (I decided to give 64bit a try and I am extremely impressed.Not one problem at all! Kudos to the devs.) Whenever I log in I get the Palimpsest Disk Utility telling me two of my hard drives have a reallocated sector count.I have two 1.5Tb Seagate drives (model #: ST31500341AS). One is a backup of the other. On the first disk the disk utility tells me I have 22 reallocated sectors and 53 on the second. I've been on Google on discovered that there is no easy way to fix this and that a few bad sectors are okay but too many is a sign of imminent drive failure. This obviously concerns me because both my main drive and its backup are showing errors.
I went to Seagate's website and downloaded their diagnostic software (Seatools for DOS) and it passed both of these drives.So, questions: is it possible that Fedora is giving me a false positive? If not, is 22 and 53 sectors something to be concerned about? If so, should I contact Seagate and see if I can pull warranty on these drives? Is there a way to repair this damage?
View 5 Replies
View Related
Jan 31, 2010
Target F12 mysql - 5.1.42-2
Source FC 5 mysql - 5.0.27-1
I've put SElinux into permissive mode as it was practically denying anything that moved. Both installed from the standard repos. I used mysql-administrator to create a backup of the FC5 server (all databases/tables) and transferred it to the new system. I restored it onto that machine and double checked that my standard admin user (full privs) was present and let me log in to make changes. All good so far.
So I copied over my files from my sites, point a browser at them and I get nothing, not even errors. Now it's a long while since I set the original up and have probably forgotten something simple but despite making the error output more verbose I can't seem to track anything down other than:
[Code]....
So it suggests my tables are invalid/trashed but I can't seem to figure out why. The original server is still running happily so I'm not in any rush to fix this, I'll keep plodding, Phpinfo reveals a normal operational php setup, so i think that side of the sites is functional. Apache test pages work on blank virtual hosts but viewing my sites reveals the favicon working fine but otherwise comepletely blank pages (zero output, even source). I tried running the page as a raw CLI input to the php package using php index.php and php returned nothing, logged nothing unusual but sat with my CPU at 100%, unsure if that is related.
View 1 Replies
View Related
Jul 29, 2010
I haven't logged on to Fedora for a few days, but I did this morning and opened claws mail and clicked 'get mail' and it proceeded to download new messages. However, when I clicked on the inbox folder, the email count changed to zero! No email. I checked and found the folderlist.xml has the correct Mail folder location, and when I went to that location, (on a shared data partition) indeed the 'inbox' folder was EMPTY. No files at all. I'd had a similar issue once, but the email #MH location wasn't correct, so when I fixed it, the email appeared. I did a web search and a search of the claws bugzilla.
The closest I came was a message about the cache not keeping accurate information. There was a claws-mail update at the end of May, but it had been working fine since then up until now. And, it's possible it's some sort of Fedora issue (?), because I had opened my 'home' folder on my desktop to check the claws folder, and now I see that there's a gaping hole on my desktop where that folder should be. I can get there by clicking 'places' and 'Home Folder'. Any other reports of disappearing folders and email?
View 3 Replies
View Related
Mar 8, 2011
iam just trying to connect to server which accepts one client and server will read(blocking operation) infinitely, but After closing the client socket the server "read operation" is returning zero and "errno variable(in errno.h)" value is also zero. how can i detect whether a client socket is closed/active..?
client.c
Serv_Addr.sin_family = AF_INET;
Serv_Addr.sin_addr.s_addr = inet_addr("127.0.0.1");
Serv_Addr.sin_port = htons(26553);
if( 0 > connect (Serv_Fds,&Serv_Addr,sizeof(Serv_Addr)) )
{
perror("connect");
return 0;
[Code]....
View 3 Replies
View Related
Jan 22, 2010
So I got a bad physical volume inisde my logical volume. I want to do this safely rather than tinkering around, how can I get the bad physical disk out and look at the data on the other 2 drives to see if I can save anything? Its just the standard fedora setup where it combines all the disks, nothing fancy.
I have the volume group activated as a partial, and now I just want to see the data on the other sections how could I mount that?
View 2 Replies
View Related
Jul 18, 2010
I use the command ln -s a lot to create symbolic links. The problem is that I need to run a routine that looks for a specific string in ALL of my websites and I'd do it somehting like this:
Code: cd /home grep -R "function_enhanced_mail_v100.php" * however, it's going to recurse all the "folders" and include symbolic links which I don't wish to do. Is there any way to prevent this?
View 1 Replies
View Related
Jun 3, 2011
I downloaded the Fedora-15-i386-DVD.iso and want to install Fedora 15 from it. I don't want to use the LiveCD version since it doesn't have all the packages. So I follow the tutorial given here under the section titled "How to Make a bootable USB Drive to Install Fedora instead of using a physical DVD ". Everything finishes off well. However. when I boot my computer using the USB, it says "USB doesn't have operating system. Safely remove and reboot".
Now, what to do? I also didn't get the line the tutorial saying, "You should now have a bootable USB stick which will run an 15 install. When you boot the stick, you may also add askmethod to the boot line and select a hard drive install and select the drive as /dev/sdb1 (or your USB device drive) and the path should be / " What am I supposed to do?
View 1 Replies
View Related
Aug 15, 2011
I want to be able to add a physical drive to an existing filesystem, and PRESTO! That filesystem has more storage and/or redundancy. When one of the physical drives eventually fail, no problem, Ive lost some redundancy, I just have to install a new drive before another one fails.Lets assume I have 4 physical drives.*What Is This Configuration? *[URL]...But I am unclear how to get a logical volume that is mirrored and linear.
The last time I tried software RAID 1 (dm-x) under lvm, it was very fragile. Systemd could not start it,and then an update to mdadm put a stake through its heart. So I know that does not work.
View 5 Replies
View Related
May 25, 2010
In looking at the release notes, I saw the comment File locations changes:
* MySQL socket file and pid file were moved from /var/lib/mysql to more reasonable location /var/run/mysql by default.
* MySQL log files are in /var/log/mysql. Not sure what I was supposed to do with that information. So I ignored it. Now, I am finding some issues with it. The web server works, but any connection to the database fails with 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)The thought dawned on me that maybe all my databases were erased and none set up. Going in to the terminal, I could connect and list and query the databases. So even though I backed them up, they still are there!
phpMyAdmin gives the same error message.
However, when I go into MySQL Administrator, it works fine.
I forgot where I saw it, but the socket is still set to var/lib/mysql. I could not find any mysql install log and would say what was in my cnf.my, but it still doesn't exist just as it has not in the past. Not sure if I should allow the MySQL Administrator to create it since I always ignored the prompt in the past and it worked. (Just wishing to keep the defaults)
At first I thought the upgrade upgraded the MySQL, but it's still 5.1.39 as I believe before. I've un-installed mysql-server and re-installed it with no change.
Can anyone can tell me how to get the socket to /var/run/mysql or what else is wrong? I read one place where mysql is supposed to set it up.
View 9 Replies
View Related
Aug 22, 2011
fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes.
[Code]...
I've tried other installations, but I always get errors like this. /dev/sda 5, 7 and 8 are occupied by PCLinuxOs. /dev/sda 9, 10, 11 and 12 by Fedora. I made room for Linux installations by GParted (last version). Really, I made no errors. The installer of PCLOS is a bit strange: it changed the NTFS partition sda5 in sda 6! In a previous installation with Fedora and Kubuntu only the extend partition sda 4 complained about not starting on physical sector boundary. The hard disk is Western Digital with Advanced Format. Probably this is the cause of the problem. The systems are snappy and responsive. I do not encounter any problem. What to do? Ignoring the problem or reinstalling? May be it would be better to get rid of PCLOS and to dual boot Windows with Fedora?
View 5 Replies
View Related
Mar 17, 2011
I just installed linux fedora 14 on my hp probook 4320s with installation CD with this name: Fedora-14-x86_64-Live-Desktop. Then I installed it on the hard disk. During installation I chose to encrypt hard disk. When I try to access my hard disk it says "unable to mount 250GB LVM2 Physical Volume, Not a mountable file system". What can I do to get access to my hard disk?
View 4 Replies
View Related
Jun 10, 2010
By fiat I must distribute my homedirs across multiple physical disks/partitions. Unfortunately this is not open to discussion so obvious solutions like a lvm home partition are not available to me. The issue: Users created with homedirs on the main home partition (the one created as home during the f13 install) behave as expected, but if I create them on a different partition (home9 for the sake of this example) the users are not able to login (dropped back to login screen), nor run x-apps if su -'d to in a konsole.
If I 'su - <user-on-home9>' in a konsole, I get delivered to the /home9/<user-on-home9> as expected, but x-apps fail with the error: 'cannot open display: :0'. This can be temporarily fixed with the command 'xhost +SI:localhost:<user-on-home9>', but I would rather fix it permanently at the source.
This appears to be an selinux problem from the following.The contexts of the the two rootdirs are the same
% ls -Zd /home /home9
drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /home
drwxr-xr-x. root root system_u:object_r:home_root_t:s0 /home9
but when I create the users (using useradd or the gui) their respective contexts differ:
% ls -Zd /home/user5 /home9/user6
[Code]...
So, my questions for you selinux experts are 1) is it possible to have homedirs spread across multiple partitions with selinux, and if so, how, 2) Why, even when I manually set the dir/file contexts to match a properly functioning user5 from /home, do users from /home9 still not work (as far as login and x-apps).
View 8 Replies
View Related
Mar 9, 2009
I find myself in the strange position of having an old P4 system that I want to throw Fedora 10 on - it's a considerable upgrade from the old 866Mhz P3 that I've been using to do some number crunching on. (It's a personal project, but it's CPU intensive, so the P4 is a welcome upgrade.) My problem with it is that the motherboard's AGP socket is dead, and I can't find a PCI graphics card, so I'm trying to do a totally headless install - I have no idea what errors may be shown, if any. All I know is that whatever I've tried up till now hasn't worked.
1. Remove the hard drive from the P4, stick it into a spare, semi working system (AMD Athlon, RAM isn't working too well), install F10 on the hard drive, remove the drive, put it back into the P4, and let it boot. Results: Nothing. No DHCP announcement, so I don't know if it's done anything.
2. Try a variation of a PXE boot using the vnc parameter. I've copied the instructions here with no luck. Tried it using a nearby mirror (mirror.nus.edu.sg) as well as method=cdrom, with no luck on either. Results: Also nothing.Should I give up on this, or is there anything else I should try?
View 2 Replies
View Related
Sep 26, 2010
I have forwarded both port 22 and 9000 on my router. I can connect on 22 and remotely login into the machine. The problem when I start my java listener program which is listening on 9000 it cant not establish any connection. I have even add this into the iptables too -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9000 -j ACCEPT. I have disabled the SELINUX too. What else must I do to make it work any suggestion please?
View 6 Replies
View Related