Programming :: S_ISDIR Not Working In RHEL 6.1?
Jul 6, 2011
I've got a program that was working fine in RHEL 5.4. On my RHEL 6.1 test server, the program failed to pick up the files on my samba mounted folders. I went through the code and found that S_ISDIR returns the folder in the mounted drive as FALSE. It has no problem with files on the local filesystem though. Any suggestions on how to fix this?
View 2 Replies
ADVERTISEMENT
Apr 5, 2011
I installed RHEL 5 today and set my network. Did it as follows:Eth0 connectionPrimary DNS 192.168.1.1When I click on Activate, it says:8139too device eth0 does not seem to be present, delaying initialization.This message shows no matter how many times I log out or restart.I don't know what the heck is the problem. I've done the essentials but still it's not working. I looked up on the net but people were saying things like ifconfig and lspci, and at the end still weren't able to solve it. I don't know all this since I'm new to Linux. Another important thing...after facing this same problem some time ago, I installed Centos which asked for internet settings right at the time of installation. And after logging in for the first time, I was able to use internet without any problem. How come internet works on Centos (which is a copy of RHEL) without any problems, but not working on RHEL itself?
View 14 Replies
View Related
Aug 15, 2010
dear sirs, i have taken image of 1 machine using acronis ver9.0 which has3gb swap /sda1
25gb /slash /sda2108gb /oracle /sda3so on another machine when i restore everything restore and data i can see, but boot, MBR not working.it just come written on screen "GRUB"i try to reinstall grub not workingbooth rhel cdthen type >linux rescue> chroot /mnt/sysimage>/sbin/grub-install /dev/sda2it give me error does not work and i reboot the machine.can someone teach or guide how to restore,repair, or fixed MBR
View 1 Replies
View Related
Mar 29, 2010
I have an RHEL 4 server now running 2.6.9-89.0.18. After installing the kernel and rebooting to make this the current kernel, the grub menu to choose the kernel failed to offer a countdown and did not choose the kernel as it should have. I had to manually select the kernel.I inspected the grub.conf file and could not find any clue as to why it didn't work. The timeout directive is there, and the syntax matches other systems we have with the same kernel and OS.Can anyone provide any insight as to what else (other than a typo on the conf file) would cause this?The only difference between the way the kernel update (and the subsequent changes to the grub conf file) took place was a manual install of the RPM on the affected system, versus pulling it down from RHN using up2date.
View 11 Replies
View Related
Mar 8, 2010
I have RHEL 5.3 installed on HP ProLiant DL320 Generation 5 but i cant get serial port workingdmesg | grep ttyserial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
[code]...
View 8 Replies
View Related
Feb 4, 2011
have installed RHEL 5 recently and want to use internet on it. However it doesn't activate my connection when I try activating it through System>Administration>Network>Devices Tab.
My network adapter is "Realtek RTL8139/810x Family Fast Ethernet NIC", and processor is Intel Core 2 Duo. I read in a thread somewhere to edit a file named resolv.conf to include DNS server address, but don't know how to go about it exactly. I asked my ISP and he gave me two DNS Ip addresses
View 11 Replies
View Related
May 12, 2011
I am setting up a high availabilty system on a RHEL 6 system.
I have configured 2 nodes.
dev0301
Eth0:
[code]...
View 2 Replies
View Related
Feb 25, 2011
i installed RHEL 6 as virtual host on one of the blades on HP enclosure. i set up network on eth0 and started it but i cannot even ping gateway from within this installation. i logged in as root. i set up everything such as IP, netmask, gateway, nameserver etc.
View 1 Replies
View Related
Jun 16, 2011
I have setup apache webserver on RHEL5 working fine for months now. Next task is to add another domain name to the webserver using the same IP address. I have been trying to set up apache name based virtual host for the past several days without success. Each time I try elinks [URL] it went to the main page sales.example1.com. Main page sales.example1.com is on DNS but 2nd domain [URL] is not created on DNS yet. I just doing testing first on /etc/hosts.
10.145.13.10 sales.example1.com sales
10.145.13.10 www.exampletst.com
I have tried googling, search forum, and read documentation. I have checked my httpd.conf file several times but there must be some simple step or config error that I might miss:
Apache version is 2.2.3. Output of my httpd.conf file:-
NameVirtualHost *:80
# Default Virtual Host
<VirtualHost *:80>
ServerName sales.example1.com
DocumentRoot /var/www/html
DirectoryIndex index.html index.shtml index.php
</VirtualHost>
<VirtualHost *:80>
ServerName www.exampletst.com
DocumentRoot /var/www/virtual/tours
ErrorLog /var/log/httpd/tours_error_log
CustomLog /var/log/httpd/tours_access_log common
DirectoryIndex index.html index.shtml
<Directory "/var/www/virtual/tours/">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
View 11 Replies
View Related
Mar 2, 2011
is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.
View 3 Replies
View Related
Feb 1, 2011
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?
View 1 Replies
View Related
Apr 27, 2009
I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.
View 1 Replies
View Related
May 1, 2011
can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.
View 1 Replies
View Related
Jul 13, 2009
I have RHEL 3 and Win XP Installed in my P.C?I want to uninstall RHEL 3 and install RHEL 9 without affecting XP.how can i do this and also where can i download free RHEL 9 version or any other latest linux distribution for free?
View 1 Replies
View Related
Feb 16, 2010
A client has sent me an RHEL 5.1 box for me to do some work on, but it's not registered with Red Hat. This is causing me problems, because it's a minimal installation, and I need some more dev software.My immediate reaction was to install various bits (emacs, and so on) from my Centos 5(.0) DVD.The base RHEL system only had one (disabled) repo entry,so I added a yum DVD repo entry in yum.conf.d.
This looked good to start with, but it doesn't work. Something in RHEL's pirut/yum/rpm/whatever is getting confused, and can't work out what is/isn't installed.
Question - how do you maintain an unregistered RHEL box? Has RH done something to make life difficult? Is my problem simply that I'm using a Centos 5.0 DVD, instead of Centos 5.1? Am I stuck with downloading lots of rpms from the net and doing everything manually? I really don't want to do that.
View 2 Replies
View Related
Dec 23, 2009
I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?
View 3 Replies
View Related
Dec 14, 2010
what are the major differences between rhel 5.2 and rhel 5.4
View 2 Replies
View Related
Dec 9, 2009
I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.
View 1 Replies
View Related
Feb 6, 2009
I have RHEL 4, RHEL 3, i need install dmidecode RPM packet and procinfo packet... exist this packets for this linux versions?
View 11 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
Feb 3, 2011
difference between rhel 5 and rhel 6 - basic difference.
View 3 Replies
View Related
Nov 18, 2009
i have old RHEL 3 system which has kernel 2.4 installed into it. I wasnt to upgrade it to RHEL 5.x so i downloaded a kernel 2.6 package but was not able to compile it.
View 1 Replies
View Related
Sep 25, 2009
Environment:RHEL 5.2 and 5.4 AP x86_64, 2 drives (sda, sdb), installing without optional features like clustering and virtualization. I have tried this for a couple of days now and just can't get it to work. My goal is to take the RHEL 5.2 DVD and RHEL 5.4 DVD and install them on separate drives of the same machine. I want the grub menu to give me a choice. I prefer to understand the steps and choices offered me by the install dialog to do this rather than fiddle with grub.conf. If that is not possible, I will write up the bug.
So far, I just get the the error 13 when trying to start the grub added second OS. I have read elsewhere that "Anaconda frequently recognizes the other operating system and sets up grub so you can boot from either operating system". That would be nice. The install dialog lets me choose a drive to install to. I have figured out that I need to check "review and modify partitioning layout" to enter the advanced grub choices. Do I have it install a boot loader for the 1st OS? Trying to add the 1st OS during the second OS install creates a grub conf with no kernel line in the added boot stanza.
View 3 Replies
View Related
Aug 6, 2010
The below script takes a date and table name from the user. It unzips and untar a file from archive folder based on date. Then select the required file based on the tablename provided and copy it to ../posextract folder.The folder posextract contains already extracted files for the user.
Code: echo "Enter date
"
read lookdate
[code]....
View 2 Replies
View Related
Jul 24, 2010
I really would like Perl Qt4 bindings. The best I could find is this:[URL]The problem is that the sources would not compile, and the RPMs are for 32-bit machines.Is there really no such thing as good Perl Qt4 bindings?
View 8 Replies
View Related
Jul 28, 2010
I'm trying to create my own version of the printf function. I'm using the following code:
Code:
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
[code]....
View 3 Replies
View Related
Dec 29, 2010
The following script keeps telling me: Notice: Undefined index: name in /usr/files/www/rage.php on line 6 Name:
PHP Code:
<html>
<?php
[code]...
View 7 Replies
View Related
Apr 21, 2011
I try to learn using session. I created sess1.php with the following code:
<?php
session_start();
// makes an array
[code]...
View 5 Replies
View Related
Dec 9, 2010
I jus found that #include<stdio.h> is not working with gcc and neither any function from the library like clrscr(); i found due to <stdio.h> is a windows lobrary file so its not come with linux. But I want to to know if I have to call any function from that library what should I do? Is there any way to install <stdio.h> in linux?
View 5 Replies
View Related