Re: [CentOS] VNC server not reponding to external requests
On Tue, Feb 26, 2013 at 9:55 AM, Neil Aggarwal n...@jammconsulting.comwrote: Hey everyone: I got it working. I set it up under a user account. I was trying to set it up with the root account. It is working with the user account. Will the VNC server allow remote logins as root? Thanks, Neil Well, once you VNC to the system, you can simply change to the root use if you have the credentials to do so. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] System will not boot - faulty fstab?
On Fri, Aug 24, 2012 at 7:17 AM, James B. Byrne byrn...@harte-lyne.cawrote: I believe that I made a boo boo recently when recovering some unused disk space. Without going into painfully embarrassing detail I need to delete an entry in fstab for a now non-existent logical volume. The system reports that the there is a bad superblock for said logical volume. Mainly I expect because there isn't one anymore. How do I edit fstab so as to remove the mount request? For some reason the system will not boot from the cdrom and the I for interactive option is just blown by when the HDD boot starts. Can you have some other rescue device besides the CD then, can you boot to USB and create a rescue disk image onto USB and then go and edit it? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] System will not boot - faulty fstab?
On Fri, Aug 24, 2012 at 7:39 AM, Ross Cavanagh ross@gmail.com wrote: On Fri, Aug 24, 2012 at 7:17 AM, James B. Byrne byrn...@harte-lyne.cawrote: I believe that I made a boo boo recently when recovering some unused disk space. Without going into painfully embarrassing detail I need to delete an entry in fstab for a now non-existent logical volume. The system reports that the there is a bad superblock for said logical volume. Mainly I expect because there isn't one anymore. How do I edit fstab so as to remove the mount request? For some reason the system will not boot from the cdrom and the I for interactive option is just blown by when the HDD boot starts. Can you have some other rescue device besides the CD then, can you boot to USB and create a rescue disk image onto USB and then go and edit it? Or pull the disk out if you have to and mount it on another system? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH prompt: Need advise from Japan
On Mon, Aug 6, 2012 at 12:25 PM, Scott Robbins scot...@nyc.rr.com wrote: On Mon, Aug 06, 2012 at 11:10:40AM +0800, Fajar Priyanto wrote: Hi all, I hope there is someone in Japan. If we install Centos in Japanese, and then I ssh to it from an English client. Will the SSH prompt be in Japanese? My guess--it's a bit late to test it tonight---is that as long as your terminal can handle Japanese you should be alright. That is, it's probably easiest to, while running X, use a terminal emulated, e.g., uxterm or urxvt (rxvt-unicode), and check the LC_CTYPE. Generally, something like LC_CTYPE=en_US-UTF-8 will be able to read Japanes, but it will probably also depend upon the LC_CTYPE settings on the remote machine. As English is my first language, I've never quite had to do it that way, but at times, have had to remotely read emails in mutt using Japanese. You're prompt will reference whatever the hostname is doesn't it? I'm located in Tokyo, I haven't setup any servers with Japanese hostnames actually, but on occasion some filenames are written in Japanese. What is it you wanted to see exactly? It also depends on the keyboard setup you have set to the default. Most people in Japan set the keyboard to a US style - where they enter romaji, and don't usually enter the kana from the different keyboard layout. So, you type the roman characters ra for example to make ら, but there is a Japanese keyboard layout where you can type the ら character directly - but I never really see that used. So, as far as I know, you'll be using whatever input methods you actually have on your local system where you're ssh'ing from. So, if you needed to write Japanese input you'd need some local IME on your particular system. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH prompt: Need advise from Japan
On Mon, Aug 6, 2012 at 8:54 PM, Ross Cavanagh ross@gmail.com wrote: On Mon, Aug 6, 2012 at 12:25 PM, Scott Robbins scot...@nyc.rr.com wrote: On Mon, Aug 06, 2012 at 11:10:40AM +0800, Fajar Priyanto wrote: Hi all, I hope there is someone in Japan. If we install Centos in Japanese, and then I ssh to it from an English client. Will the SSH prompt be in Japanese? My guess--it's a bit late to test it tonight---is that as long as your terminal can handle Japanese you should be alright. That is, it's probably easiest to, while running X, use a terminal emulated, e.g., uxterm or urxvt (rxvt-unicode), and check the LC_CTYPE. Generally, something like LC_CTYPE=en_US-UTF-8 will be able to read Japanes, but it will probably also depend upon the LC_CTYPE settings on the remote machine. As English is my first language, I've never quite had to do it that way, but at times, have had to remotely read emails in mutt using Japanese. You're prompt will reference whatever the hostname is doesn't it? I'm located in Tokyo, I haven't setup any servers with Japanese hostnames actually, but on occasion some filenames are written in Japanese. What is it you wanted to see exactly? It also depends on the keyboard setup you have set to the default. Most people in Japan set the keyboard to a US style - where they enter romaji, and don't usually enter the kana from the different keyboard layout. So, you type the roman characters ra for example to make ら, but there is a Japanese keyboard layout where you can type the ら character directly - but I never really see that used. So, as far as I know, you'll be using whatever input methods you actually have on your local system where you're ssh'ing from. So, if you needed to write Japanese input you'd need some local IME on your particular system. and sorry for my bad grammar, too much time in Japan ;-) your prompt, you are not a prompt. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH prompt: Need advise from Japan
On Mon, Aug 6, 2012 at 8:58 PM, Fajar Priyanto fajar...@arinet.org wrote: On Mon, Aug 6, 2012 at 7:54 PM, Ross Cavanagh ross@gmail.com wrote: You're prompt will reference whatever the hostname is doesn't it? I'm located in Tokyo, I haven't setup any servers with Japanese hostnames actually, but on occasion some filenames are written in Japanese. What is it you wanted to see exactly? It also depends on the keyboard setup you have set to the default. Most people in Japan set the keyboard to a US style - where they enter romaji, and don't usually enter the kana from the different keyboard layout. So, you type the roman characters ra for example to make ら, but there is a Japanese keyboard layout where you can type the ら character directly - but I never really see that used. So, as far as I know, you'll be using whatever input methods you actually have on your local system where you're ssh'ing from. So, if you needed to write Japanese input you'd need some local IME on your particular system. Hi Ross, thanks for your time. What I want to know is, during the initial ssh login. Will it display the dialogue fully in Japanese? e.g. fajar@8.8.8.8's password: (will it be in Japanese?) As far as I'm aware, you would be seeing virtually everything in English as the directory structures are in English. Usually people's home directories are setup in English, I don't think I've ever come across a user login that does use Japanese actually (not sure if you can - otherwise your SSH connection you'd have to match you user name - eg. Ross would be my katakana name, ロス@8.8.8.8 - don't even know it's possible). I've worked at one Japanese company as the only foreigner, and all others companies have been international ones - but everyone uses Roman characters for their logins and not kana or kanji. Same with passwords. Usually, on systems I've seen in Japan most of the time files and folders are creating using Roman characters for naming (most of the time). Within a document, of course it could be written 100% in Japanese. Some folders and files can be in Japanese, so it can be hard to navigate through some directories if you don't have any IME tools for Japanese input. Lots of tab autocomplete and copy and pasting at times - but that's usually within a home directory for a user for example. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH prompt: Need advise from Japan
On Mon, Aug 6, 2012 at 9:14 PM, Fajar Priyanto fajar...@arinet.org wrote: I see. Thanks Ross. That makes sense. Sent from Samsung Galaxy ^^ On Aug 6, 2012 8:12 PM, Ross Cavanagh ross@gmail.com wrote: On Mon, Aug 6, 2012 at 8:58 PM, Fajar Priyanto fajar...@arinet.org wrote: On Mon, Aug 6, 2012 at 7:54 PM, Ross Cavanagh ross@gmail.com wrote: You're prompt will reference whatever the hostname is doesn't it? I'm located in Tokyo, I haven't setup any servers with Japanese hostnames actually, but on occasion some filenames are written in Japanese. What is it you wanted to see exactly? It also depends on the keyboard setup you have set to the default. Most people in Japan set the keyboard to a US style - where they enter romaji, and don't usually enter the kana from the different keyboard layout. So, you type the roman characters ra for example to make ら, but there is a Japanese keyboard layout where you can type the ら character directly - but I never really see that used. So, as far as I know, you'll be using whatever input methods you actually have on your local system where you're ssh'ing from. So, if you needed to write Japanese input you'd need some local IME on your particular system. Hi Ross, thanks for your time. What I want to know is, during the initial ssh login. Will it display the dialogue fully in Japanese? e.g. fajar@8.8.8.8's password: (will it be in Japanese?) As far as I'm aware, you would be seeing virtually everything in English as the directory structures are in English. Usually people's home directories are setup in English, I don't think I've ever come across a user login that does use Japanese actually (not sure if you can - otherwise your SSH connection you'd have to match you user name - eg. Ross would be my katakana name, ロス@8.8.8.8 - don't even know it's possible). I've worked at one Japanese company as the only foreigner, and all others companies have been international ones - but everyone uses Roman characters for their logins and not kana or kanji. Same with passwords. Usually, on systems I've seen in Japan most of the time files and folders are creating using Roman characters for naming (most of the time). Within a document, of course it could be written 100% in Japanese. Some folders and files can be in Japanese, so it can be hard to navigate through some directories if you don't have any IME tools for Japanese input. Lots of tab autocomplete and copy and pasting at times - but that's usually within a home directory for a user for example. I just quickly started up a CentOS VM to check something... [root@CENT01 ~]# useradd -m ロス useradd: invalid user name 'ロス' So, looks like it needs to be in Roman characters. But it appears even I have some issues via my terminal too: [root@CENT01 ~]# useradd -m ross [root@CENT01 ~]# cd /home/ross/ [root@CENT01 ross]# touch ロス [root@CENT01 ross]# ls ?? So, my Japanese input isn't being displayed. But I did get a warning when I SSH'd in about that: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) Hope that helps. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH prompt: Need advise from Japan
On Mon, Aug 6, 2012 at 10:43 PM, Akemi Yagi amy...@gmail.com wrote: On Mon, Aug 6, 2012 at 5:23 AM, Ross Cavanagh ross@gmail.com wrote: I just quickly started up a CentOS VM to check something... But it appears even I have some issues via my terminal too: [root@CENT01 ~]# useradd -m ross [root@CENT01 ~]# cd /home/ross/ [root@CENT01 ross]# touch ロス [root@CENT01 ross]# ls ?? I have a .ja version of CentOS-6 in a VM. I do all my testing work by ssh'ing to it but have not encountered issues with Japanese input/display. [yagi2@c63-64ja ~]$ mkdir 日本語 [yagi2@c63-64ja ~]$ cd 日本語 [yagi2@c63-64ja 日本語]$ touch ロス [yagi2@c63-64ja 日本語]$ ll total 0 -rw-r--r--. 1 yagi2 yagi2 0 Aug 6 06:39 ロス The machine I connect from does have Japanese input set up (as mentioned by others). Akemi A Japanese in California :-) Can you do a useradd command in kana or kanji? Mine was rejected, which I think was the main concern that the username / password combination would be in Japanese. I don't think I've encountered a non romaji home directory - but the folders and files can be created in Japanese no problem. The issue I had is a local one that I can fix with the display actually. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] amanda backup
On Thu, Aug 2, 2012 at 11:05 PM, John Doe jd...@yahoo.com wrote: From: Kaushal Shriyan kaushalshri...@gmail.com Is there a step by step guide to configure amanda server and client on CentOS and backup on hard drive? What do you mean by step by step...? Something like that? 1. On server: yum install amanda-server 2. On client: yum install amanda-client 3. Google for amanda backup to disk JD I remember looking over this back some time ago -- http://www.zmanda.com/quick-backup-setup.html But it's not OS specific, just about the software. But I guess a google search may have shown you this anyway. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Speedtest.mini on a local website?
On Tue, Jul 17, 2012 at 1:45 AM, Timothy Murphy gayle...@eircom.net wrote: Stephen Harris wrote: I wonder if anyone has got speedtest.mini from http://speedtest.net/mini.php working under CentOS-6? I just did yum install php cd /var/www/html mkdir speedtest.mini cd speedtest.mini unzip ~/mini.zip mv index-php.html index.php service httpd restart That is exactly what I did, except I called it SpeedTest.php . (I also tried SpeedTest.html .) and it worked on my CentOS 6.3 build (I have SELinux turned off...) I also have SELinux turned off. If I click on my home page www.gaylord.com/SpeedTest.php [website modified] I just get a black page. Results: 93Mbit/s down, 80Mbit/s up... on a local 100Mbit client. Maybe I have misunderstood the purpose of this program? I'm not clear what you are measuring. Are you running a web-server on this computer? What command exactly would be given on a remote browser? Just a quick thing, which you may have already checked. But are the permissions OK? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.8 crash/freeze running VMware
On Fri, Jun 29, 2012 at 11:52 PM, Michael Eager ea...@eagerm.com wrote: On 06/28/2012 06:33 PM, Ted Miller wrote: On 06/28/2012 12:45 PM, Michael Eager wrote: Hi -- I have a server running CentOS 5.8. It has a 6-core AMD processor, 16Gb memory, and a RAID 5 file system. It serves as both a file server and to run several VMware virtual machines. The guest machines run Windows 7 and various versions of Linux. The system is running the latest version of VMware Workstation. Until recently, I started VMs using the VMware Workstation GUI. The system has been very stable and seldom crashes. Recently, I set up an init script to start several VMs at boot time using the vmrun command. This appeared to work correctly, but the system has become unstable, freezing at various times. When the system freezes, there is no console response and it does not respond to a ping. There is nothing in syslog to indicate any error. The script started 8 VMs. I've cut back to now running 4 VMs and the system appears stable. Is there some relation between the number of cores and the number of VMs one can run? Is there something else which might cause the system to crash when running multiple VMs? Any suggestions to identify why the system crashed? Are you staggering the startups of the VMs? The server may be choking trying to boot 8 machines at once. I suggest starting a VM every 30-60 seconds, so that you aren't trying to boot all 8 at once. Don't know if it will help, but it might. The crashs happen long after boot time when all of the VMs are running. (Actually, startup goes very smoothly, with the VMs starting in parallel in the background while system boot completes.) So, the VM's are starting their boot process while the host system is still starting it's boot process? You might want to make sure your host system is finished it's boot process before any of the VM's want to try and start. I know you did say it's after they all boot that the issue begins, but I guess it's best to be safe than sorry just in case there's something that hasn't been started that's needed by the VM's. How long do they stay up for? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Resizing est4 filesystem while mounted
On Sat, Jun 16, 2012 at 4:30 AM, Dennis Jacobfeuerborn denni...@conversis.de wrote: On 06/15/2012 09:10 PM, Jeff Boyce wrote: Greetings - I had a logical volume that was running out of space on a virtual machine. I successfully expanded the LV using lvextend, and lvdisplay shows that it has been expanded. Then I went to expand the filesystem to fill the new space (# resize2fs -p /dev/vde1) and I get the results that the filesystem is already xx blocks long, nothing to do. If I do a # df -h, I can see that the filesystem has not been extended. I could kick the users off the VM, reboot the VM using a GParted live CD and extend the filesystem that way, but I thought that it was possible to do this live and mounted? The RH docs say this is possible; the man page for resize2fs also says it is possible with ext4. What am I missing here? This is a Centos 6.2 VM with an ext4 filesystem. The logical volumes are setup on the host system which is also a Centos 6.2 system. You didn't really specify your topology accurately so I assume you used lvextend on the host side. This will not be visible until you rebooted the guest. The only way to resize without taking the system offline is to use lvm in the guest. Add a new virtual disk on the host side which results in a hot-plug event in the guest (i.e. you should see the new drive added in the guest). Now create a single partition on the drive (this is important!) and use pvcreate to turn it into a physical volume. Now add the new PV to the Volume Group. Finally you can lvextend the LV in the guest and resize the filesystem. The partitioning of the new disk in the guest is important because if you use the disk directly as a PV then this PV will also be shown on the host. An alternative is to modify the LVM filters in /etc/lvm/lvm.conf on the host to specifically not scan the LV for the new disk. I find it easier to create a partition though (i.e. use /dev/vda1 instead of /dev/vda as the PV). Regards, Dennis Not sure if this link would help, I used to refer to this now and then if I needed to extend an online partition -- http://www.randombugs.com/linux/howto-extend-lvm-partition-online.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Mon, Jun 11, 2012 at 4:45 PM, Sanjay Arora sanjay.k.ar...@gmail.comwrote: On Sat, Jun 9, 2012 at 6:59 AM, Gordon Messmer If you want to use NAT and keep your guests in a segregated network, that is exactly how the default install behaves. You don't have to do any network-specific configuration. But that segregated network does not have access to the Internetor am I wrong? I'm just jumping in and may not have read everything, but having the NAT option will still allow Internet access to the guest if the host is setup to allow this (which is the default on most virtual hosts as far as I'm aware). But you may find it harder to access the NAT guest if you're trying to access it from another system on the same network as the host system. You can always setup multiple NIC's on the guest. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Mon, Jun 11, 2012 at 3:42 PM, Ross Cavanagh ross@gmail.com wrote: I'm just jumping in and may not have read everything, but having the NAT option will still allow Internet access to the guest if the host is setup to allow this (which is the default on most virtual hosts as far as I'm aware). But you may find it harder to access the NAT guest if you're trying to access it from another system on the same network as the host system. You can always setup multiple NIC's on the guest. Now I wonder why I did not think of so simple an idea! Simply put in a multi-port NIC card, Another questions...I put in another network port I end up with 3 NICs 3 bridges...One providing Internet access, One providing routing to virtual hosts and one providing route to ltsp network. Now, traffic among these three networks will be routed automatically or do I have to put in some code to enable traffic between these three networks internet access to the virtual host ltsp network? It shouldn't be a problem, because if it's different networks, the system will send them accordingly (as far as I'm aware). If it does come to any issues with the networks, you can always setup static routes if required. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: How can I tell if a web site is now blocking IPs frommy country?
On Mon, Dec 7, 2009 at 7:27 AM, Lanny Marcus lmmailingli...@gmail.comwrote: On Sun, Dec 6, 2009 at 4:30 PM, Neil Aggarwal n...@jammconsulting.com wrote: days, Mozilla Firefox just hangs connecting to How can I tell if they have started blocking IP addresses from Colombia? Try using a few traceroute servers to see if other IP addresses from Colombia other countries are able to get to them. Other than that, I don't think you can tell from the outside. Neil: Thank you! I didn't know trace route servers existed. From the below, it looks to me as if there may be a problem, at the router past the last one I was able to get to, since the University of Maryland and Careleton University trace route servers also got stuck, just past where I got stuck. Possibly it's intermittent, since the site is showing up and I was able to get to it, using an Anonymous Web Browser. Snow in Houston?:-)Lanny from the University of Maryland: Enter an IP address or Hostname: Remote Host: 190.1.x.x (full IP deleted by Lanny) 1 Vlan5.css-nts-r1.net.umd.edu (128.8.5.60) 0.516 ms snip 16 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 138.679 ms 17 ixbt-gw.msk.datahouse.ru (89.188.100.110) 138.343 ms from Carleton University in Canada: traceroute: Warning: Multiple interfaces found; using 134.117.14.35 @ hme0 traceroute to 217.65.6.13 (217.65.6.13), 30 hops max, 40 byte packets 1 unix-gate.physics.carleton.ca (134.117.14.1) 2.629 ms 0.554 ms 0.462 ms snip 16 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 145.947 ms 145.750 ms 145.992 ms 17 89.188.100.110 (89.188.100.110) 142.142 ms 141.960 ms 141.842 ms [la...@dell2400 ~]$ traceroute mobile-review.com traceroute to mobile-review.com (217.65.6.13), 30 hops max, 40 byte packets 1 ipcop233 (192.168.10.1) 0.603 ms 0.524 ms 0.533 ms snip 22 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 219.849 ms 223.813 ms 218.912 ms [la...@dell2400 ~]$ ping mobile-review.com PING mobile-review.com (217.65.6.13) 56(84) bytes of data. (and it dies there) not exactly what your after, but handy sometimes. http://downforeveryoneorjustme.com/ -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to upgrade GNOME in CentOS?
Sadaruwan Samaraweera wrote: Hi, I need to know is there a way to upgrade the current version of GNOME to the newest version ? -- Sadaruwan Samaraweera The gnome website has a fair bit of information about it. For the latest versions for your distro you can visit http://www.gnome.org/~davyd/footware.shtml if you want to add the latest version, you probably want to check out... http://www.gnome.org/projects/garnome/ -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: anything in CentOS 5.2 that uses opendns.com when browsing web?
Lanny Marcus wrote: Interesting idea! I will read the IPCop documentation, to see if I can do that on my IPCop box. If not, I'm interested in SME Server, if that will do the job. What I don't like about SME Server is that their documentation isn't available for download. I like to have local documentation on my hard drive. My strong belief is that this is coming from my ISP, but they claim I'm the only one with this problem. I can't imagine that it would be coming from the OS and nothing has changed in my IPCop box. ISP's like to claim that problems are on the users end, rather than on their end. Once or twice, I've pointed out a problem to a previous ISP, been told there was no problem, and then later, they tell me that yes, they had a problem The phone company is the best ISP I have had, so far, and they seem to be pro active and usually they fix problems, without me calling them, which I truly appreciate and respect. ___ As for the SME documentation, you can select to view as one page [the option is at the bottom of the page when you are browse to the specific documentattion]. eg. http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Booklet Then, you can print it to PDF if you want. -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Could not start X window
hce wrote: Hi, I've just installed CentOS version 5 on a laptop Acer ASPIRE 5920. But could not start X window. It got following error message: Using confi file /etc/X11/xorg.conf (EE) VESA(0): No valid modes (EE) Screens(s) found, but none have a usable configuration. Fetal server error: no screens found XIO: fetal IO error 104 (Connection reset by peer) on X server :0.0 Please also find attached xorg.conf. Thank you. Kind Regards, Jim fe·tal /?fitl/ Pronunciation Key - Show Spelled Pronunciation[*feet*-l] Pronunciation Key - Show IPA Pronunciation adjective Embryology. of, pertaining to, or having the character of a fetus. Also, foetal. I couldn't resist... never seen that type of error before ;-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod perl query
fabian dacunha wrote: Dear All, I have recently installed centos 5 and working fine now i have a query with apache 1) does apache gets installed with mod perl with the defult install of centos 5 cause when i start up apache there is no mention of mod perl also httpd -l | egrep mod_perl prints nothing if mod perl is not install with installation of Centos how could i install apache with mod perl support apprecite your help regards fabian just yum install mod_perl should do the job. yum search mod_perl mod_perl.i3862.0.2-6.3.el5 base Matched from: mod_perl Mod_perl incorporates a Perl interpreter into the Apache web server, so that the Apache web server can directly execute Perl code. Mod_perl links the Perl runtime library into the Apache web server and provides an object-oriented Perl interface for Apache's C language API. The end result is a quicker CGI script turnaround process, since no external Perl interpreter has to be started. Install mod_perl if you're installing the Apache web server and you'd like for it to directly incorporate a Perl interpreter. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GParted
[EMAIL PROTECTED] wrote: Hi, I am looking for the rpm for gparted. I don't want the live CD, just the rpm to install on my system. I frequently have to format drives [mostly usb drives]. Any suggestion? It's in the rpmforge repository http://wiki.centos.org/AdditionalResources/Repositories/RPMForge -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Urgent Help Required!!!!!!!!!!!
rajeev sharma wrote: Hi All, I am Rajeev. I have download centOS 5.1 i386 files for installing Linux. I tried my ways but my DVD is not getting recognised while booting. I have windows XP SP2 32-bit. Let me know the files that need to be burned for installing centOS 5.1 i386. Queries : 1. Whether I need to burn the files in CD or DVD? 2. I have download 9 iso files, 3 torrent files and 4 txt files from http://mirror.averse.net/centos/5.1/isos/i386/ Please tell me which files I need to burn? 3. If I need to burn more than 1 iso file, how do I do that? 4. How do I install the centOS 5.1 i386 when the system starts reading the CD or DVD? (The commands please) I am going to work in Linux from now on. This is very urgent. Please help me to learn Linux and discover new stuffs. Help is required urgently. Please help me. Thanks Regards, Rajeev does the computer you want to install CentOS on have a DVD drive or CD drive? If it has a DVD drive use [and burn it onto a DVD] - CentOS-5.1-i386-bin-DVD.iso http://mirror.averse.net/centos/5.1/isos/i386/CentOS-5.1-i386-bin-DVD.iso If it had a CD drive use [and burn it onto CD - well, a total of 6] - CentOS-5.1-i386-bin-1of6.iso http://mirror.averse.net/centos/5.1/isos/i386/CentOS-5.1-i386-bin-1of6.iso [and the rest, up to 6of6] Probably check out something like this... http://www.howtoforge.com/installation-guide-centos5.1-desktop When you said your going to work in Linux, I just guesses that this would be a desktop system. Google is your friend, and also check things like the CentOS wiki http://wiki.centos.org/ Subjects are great things too ;-) -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-Samba question
Robert wrote: It might be easier to give up.* For years, I had a single inkjet printer on my modest home network, physically connected to this machine. It works great once setup until something changes. (Versions of Windows and/or versions and/or flavors of Linux on another box.) A while back, I added a laser printer, choosing one that could go either parallel, USB or ethernet. I got out my crimpers, made a network cable and haven't looked back. What a pleasure! It was a breeze to set up and it's alway visible to any computer on the network. The point is, unless your time is virtually worthless, you might think about a print server. Netgear, D-link and Linksys all make them. BTW, my laser printer is a Brother HL-5250 DN and I'm pretty happy with it. Those mini print servers would save you a lot of time by the sound of it, if it's just the printer sharing that's the problem. Or if distance is not an issue, it could possibly be directly connected to one of the windows machines and shared from there. However, that would result in you having to leave the windows box on all the time for the printing to be enabled. Well, that's my 2 cents worth anyway, hope it helps. -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: CentOS-Samba question
MHR wrote: Vista will raise your disappointment level back up! That was intended to include Vista - it sinks to a new low for Micro. Even SP1 made it worse. Funny article in regards to upgrading from Vista to XP. http://dotnet.org.za/codingsanity/archive/2007/12/14/review-windows-xp.aspx ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fault tolerance with webservers
sbeam wrote: Interested in this discussion too, for reasons recently discussed... On Tuesday 27 May 2008 09:07, Fajar Priyanto wrote: For a starter, there is a very simple tool for this. It's http://www.inlab.de/balance.html 2. RedHat Cluster Suite dan Piranha (http://www.redhat.com) 3. Linux Virtual Server (http://www.linuxvirtualserver.org) Do all of these (or IPVS or Cluster Suite/GFS) take care of real-time sharing of storage (sessions, database, files, logs) between all nodes? For a LAMP or JEE or any other HTTP stack serving anything but readonly static files, this is usually a requirement. GFS is for sharing filesystem I know and there are howtos. So would you put Balance or LVS on top of GFS, or... Would HA/DRBD be on the short list? http://www.drbd.org/ in our case we have a two-node cluster anyway so this seems like the most straightforward option. Or would something else be superior, more up-to-date? Sam I think for a two nodes with real time storage sharing heartbeat / drbd would offer what you want. There's a pretty simple how to on the centos wiki to get you up and running. I've not really used the RedHat cluster suite, but I 'think' it can offer a similar solution. http://wiki.centos.org/HowTos/Ha-Drbd -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: clustered mail server?
Guy Boisvert wrote: Good point. Does Google supports encryption? On top of that, Echelon is listening... As for unencrypted emails, it's child play. Guy Boisvert, ing. IngTegration inc. They have pretty good information available on the various versions you can use. http://www.google.com/a/help/intl/en/var_1a.html But of course, if you want all the bells and whistles to go along with it, you have to purchase the premier edition. -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Somewhat OT:
Sergio Belkin wrote: Hi, I'm looking for a monitoring system that support snmp v3. I want to monitorize linux servers and network switches. Currently, I am trying to use zabbix, but sadly, it lack at present features that I need. For example, I want to get reporting screens with data and graphs from network switches, I'd like to configure one only port of a given switch and that is used as templates for the rest of switch ports and the rest of the switches. I'd like to use some open source software that meet that features, and I want to avoid Nagios :) Could you recommend me someone? Thanks in advance Have you looked at zenoss? www.zenoss.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ssl and NameVirtualHost
Rick Barnes wrote: Tony Schreiner wrote: I recently aquired a Verisign SSL certificate for my web server on Centos 4, with apache 2.0.59 from centosplus. It however doesn't seem to be working the way I've set it up, browsers connect but are told the certiticate is not recognized. Showing more info, the information looks correct. I think it has probably to do with the fact that I'm using the certificate on a virtual named host, and I wonder If any body has experience doing this? A few places in the apache documentation suggest that SSL cannot be used with name based virtual hosting, but I don't if that means, not at all, or not with multiple named hosts. I have multiple NameVirtualHost on port 80, but will only plan to use one of the names on port 443. The start of the section in my ssl.conf goes like this: VirtualHost _default_:443 ServerName nameprotected.domain.edu:443 ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/docs/nameprotected nameprotected.domain.edu is a DNS CNAME to the actual host. How do folks do SSL and virtual hosts? multiple IP addresses is not an option for me. This is how I do it: NameVirtualHost IP.AD.DR.ESS:443 VirtualHost IP.AD.DR.ESS:443 SSLEngine On SSLCertificateFile path/to/domain.crt SSLCertificateKeyFile path/to/domain.key ServerName domain.tld ServerAdmin [EMAIL PROTECTED] DocumentRoot /path/to/webroot ErrorLog /path/to/logs/errors.log CustomLog /path/to/logs/access.log combined /VirtualHost Rick SSLCertificateChainFile /path/to/chain/chain.crt I don't know much about the ssl stuff, I just know if I'm missing the chain file I have issues with the key not being correctly recognised. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] install webmin
Hiep Nguyen wrote: hi all, how do i install webmin using yum? i tried: yum search webmin, but not found. it must be on a different repos. what repos do i need to add to see this package. thanks t. hiep wget http://prdownloads.sourceforge.net/webadmin/webmin-1.400-1.noarch.rpm rpm --import http://www.webmin.com/jcameron-key.asc yum localinstall webmin-1.400-1.noarch.rpm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kickstart stops with dialog about which networking device - how to avoid
Jay Hilliard wrote: In your pxelinux config file: add ksdevice=bootif also add IPAPPEND 2 to the end of the file In your kickstart file, don't specify a device: network --bootproto dhcp -Jay Karl R. Balsmeier wrote: yeah, it can be a bit daunting at first, but the below info is right. also consider down the road if you are using PXE/DHCP that there can be conflicts, so PXE to eth0, kickstart to eth1, that sort of thing. -krb nate wrote: Keith Christian wrote: PXE begins the install with DHCP, so Kickstart should already know which of eth0, eth1, etc. to use. add ksdevice=eth0 to your kernel parameters, or eth1 if you want to use eth1. This works for me anyways. nate --device= Used to select a specific Ethernet device for installation. Note that using --device= will not be effective unless the kickstart file is a local file (such as ks=floppy), since the installation program will configure the network to find the kickstart file. For example: network --bootproto=dhcp --device=eth0 Extracted from one of the pages I sent earlier. -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kickstart stops with dialog about which networking device - how to avoid
Jay Hilliard wrote: In your pxelinux config file: add ksdevice=bootif also add IPAPPEND 2 to the end of the file In your kickstart file, don't specify a device: network --bootproto dhcp -Jay Karl R. Balsmeier wrote: yeah, it can be a bit daunting at first, but the below info is right. also consider down the road if you are using PXE/DHCP that there can be conflicts, so PXE to eth0, kickstart to eth1, that sort of thing. -krb nate wrote: Keith Christian wrote: PXE begins the install with DHCP, so Kickstart should already know which of eth0, eth1, etc. to use. add ksdevice=eth0 to your kernel parameters, or eth1 if you want to use eth1. This works for me anyways. nate There is some handy information here too if you need it. http://fedoraproject.org/wiki/Anaconda/Kickstart http://fedoraproject.org/wiki/Anaconda/Options -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to generate UUID for Xen?
Kai Schaetzl wrote: Steve Thompson wrote on Tue, 18 Dec 2007 11:42:53 -0500 (EST): Just remove the UUID from the config file and start the VM; no need to destroy it. Well, I had to shut it down before it could use a different UUID. That's what I meant. I removed the UUID from all config files now, thanks for the tip! Kai I use uuidgen to generate a random uuid, and then use this python script to generate a random mac address. I think this was on a help page somewhere that I stumbled across. #! /usr/bin/python # macgen.py script generates a MAC address for Xen guests # import random mac = [ 0x00, 0x16, 0x3e, random.randint(0x00, 0x7f), random.randint(0x00, 0xff), random.randint(0x00, 0xff) ] print ':'.join(map(lambda x: %02x % x, mac)) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] remote ssh to machine how display firefox
John R Pierce wrote: Jerry Geis wrote: I can ssh into a remote machine. I can start X on that machine with startx How do I then start firefox on that machine (from the ssh prompt) and have it display on my machine in my office. So I want to be using firefox on the remote machine but displaying the screen output from firefox in my office. Both boxes are running centos 5. don't startx on the REMOTE machine, have it running on the LOCAL machine. local$ ssh -X remote ...authenticate... remote$ firefox and firefox should open on the local... or you can do a port forward if you wanted to just use your local browser. ssh -L local-port:localhost:remote-port user@destination eg. ssh -L 8080:localhost:80 [EMAIL PROTECTED] then, in your local browser, simply type localhost:8080 as the url to display port 80 from the remote server. More information can be found at http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Port_Forwarding.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacement for Linux-HA (heartbeat) - RedHat cluster?
Amos Shapira wrote: On 06/12/2007, Dave Augustus [EMAIL PROTECTED] wrote: If you can try with non-Xen kernels, you should get better results. Does this mean that you tried Xen kernels and DomU and it failed, then switched to non-Xen kernels on the same setup and it succeeded? Thanks, --Amos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I'm sure you've done this, but did you install kmod-drbd-xen ? I had missed installing this when trying to run drbd with heartbeat v2 under xen the first time I was testing it. -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] A good primer to User Administration?
http://wiki.contribs.org/Main_Page This is another solution using CentOS Alain Spineux wrote: You should take a look at http://www.clarkconnect.com/ This Centos 4.X based and include kolab groupware (with toltec outlook connector) Look for the features and software they choose ! On Nov 13, 2007 3:01 PM, Eric B. [EMAIL PROTECTED] wrote: Hi, I've been running Linux as a workstation OS for years, and have been dealing with Windows networks and standalone Linux servers for a while now. However, the time has come for me to complete redo the server installation and am looking to move to a complete CentOS install base, with only Windows workstations. My question is the following. I've been searching online for a good reference to describe good practices when building a linux network, but haven't really been able to find much when it comes to best practices for user administration, ACLs, optimal (or recommended) file locations, etc. For example, I know I need an LDAP server, but not sure how that ties into system login, or how to use a Linux LDAP server as the basis for a primary domain controller (is it still called that given Windows AD world?), etc. Or even how to properly create group structures and ACLs that accurately reflect group ownership/etc. The octal permissions at the file level are only good enough for a single group; I need to give multiple groups different permissions on the same files, etc. I realize that there are a lot of questions that I need to research, but I was hoping someone could point me in the direction of some advanced admin docs with best practices, etc. Most of the stuff I find relates on how to set up a basic standalone PC, without any reference to how to network together a bunch of servers running off central authentication, etc... Thanks for the advice! Eric ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd
If you noticed, I added the uname -r output of the current kernel that is on the system. uname -r = 2.6.18-8.1.15.el5 however, the yum output only lists 2.6.18-8.el5 Johnny Hughes wrote: Ross Cavanagh wrote: Thanks, Also, just to clear things up a little, you were saying the one I had listed was very old, but I think it is the latest kernel as of yesterday. I had run yum update prior to trying to install drbd. Then ran the following: yum install heartbeat drbd kmod-drbd Dependencies Resolved = Package Arch Version RepositorySize = Installing: drbdi386 8.0.6-1.el5.centos extras 128 k heartbeat i386 2.1.2-3.el5.centos extras 2.1 M kmod-drbd i686 8.0.6-1.2.6.18_8.1.14.el5 extras789 k Removing: kernel i686 2.6.18-8.el5 installed 34 M Installing for dependencies: OpenIPMI-libs i386 2.0.6-5.el5.3base 530 k heartbeat-pils i386 2.1.2-3.el5.centos extras 190 k heartbeat-stonith i386 2.1.2-3.el5.centos extras 343 k kernel i686 2.6.18-8.1.14.el5 updates 12 M libtool-ltdli386 1.5.22-6.1 base 37 k lm_sensors i386 2.10.0-3.1 base 494 k net-snmp-libs i386 1:5.3.1-14.0.1.el5 updates 1.1 M openhpi i386 2.4.1-6.el5.1base 1.3 M Transaction Summary = Install 11 Package(s)Update 0 Package(s) Remove 1 Package(s) uname -r = 2.6.18-8.1.15.el5 I didn't come across an updated kmod-drbd yet. Sorry, might be repeating myself, but this confused me 'The newest kernel is 2.6.18-8.1.15.el5 ... it was just released yesterday ... the one you have listed is very old (it is the one off the ISOs)' kernel i686 2.6.18-8.el5 installed That kernel version ... 2.6.18-8.el5 ... is the kernel off the DVD and is old. You are installing kernel version 2.6.18-8.1.14.el5 ... that is the latest version of the kernel until yesterday. I hope that clears up my comments. Johnny Hughes wrote: Ross Cavanagh wrote: hi, I was following this wiki http://wiki.centos.org/HowTos/Ha-Drbd for my CentOS 5 installation, but it appears that the kmod-drdb is not for the newest kernel. Would anyone know how long before this is updated? kmod-drbd i686 8.0.6-1.2.6.18_8.1.14.el5 extras kernel i686 2.6.18-8.el5 installed The newest kernel is 2.6.18-8.1.15.el5 ... it was just released yesterday ... the one you have listed is very old (it is the one off the ISOs) BUT you can install the other version with this command: wget http://mirror.centos.org/centos/5/updates/i386/RPMS/kernel-2.6.18-8.1.14.el5.i686.rpm wget http://mirror.centos.org/centos/5/extras/i386/RPMS/kmod-drbd-8.0.6-1.2.6.18_8.1.14.el5.i686.rpm rpm -ivh kernel-2.6.18-8.1.14.el5.i686.rpm kmod-drbd-8.0.6-1.2.6.18_8.1.14.el5.i686.rpm (each command is one line if it wraps) I never use yum to update my DRBD servers anyway. I should have the CentOS Plus kernels and all the kmods for 2.6.18-8.1.15 done in a couple days. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd
Thanks, Also, just to clear things up a little, you were saying the one I had listed was very old, but I think it is the latest kernel as of yesterday. I had run yum update prior to trying to install drbd. Then ran the following: yum install heartbeat drbd kmod-drbd Dependencies Resolved = Package Arch Version RepositorySize = Installing: drbdi386 8.0.6-1.el5.centos extras128 k heartbeat i386 2.1.2-3.el5.centos extras2.1 M kmod-drbd i686 8.0.6-1.2.6.18_8.1.14.el5 extras789 k Removing: kernel i686 2.6.18-8.el5 installed 34 M Installing for dependencies: OpenIPMI-libs i386 2.0.6-5.el5.3base 530 k heartbeat-pils i386 2.1.2-3.el5.centos extras190 k heartbeat-stonith i386 2.1.2-3.el5.centos extras343 k kernel i686 2.6.18-8.1.14.el5 updates12 M libtool-ltdli386 1.5.22-6.1 base 37 k lm_sensors i386 2.10.0-3.1 base 494 k net-snmp-libs i386 1:5.3.1-14.0.1.el5 updates 1.1 M openhpi i386 2.4.1-6.el5.1base 1.3 M Transaction Summary = Install 11 Package(s) Update 0 Package(s) Remove 1 Package(s) uname -r = 2.6.18-8.1.15.el5 I didn't come across an updated kmod-drbd yet. Sorry, might be repeating myself, but this confused me 'The newest kernel is 2.6.18-8.1.15.el5 ... it was just released yesterday ... the one you have listed is very old (it is the one off the ISOs)' Johnny Hughes wrote: Ross Cavanagh wrote: hi, I was following this wiki http://wiki.centos.org/HowTos/Ha-Drbd for my CentOS 5 installation, but it appears that the kmod-drdb is not for the newest kernel. Would anyone know how long before this is updated? kmod-drbd i686 8.0.6-1.2.6.18_8.1.14.el5 extras kernel i686 2.6.18-8.el5 installed The newest kernel is 2.6.18-8.1.15.el5 ... it was just released yesterday ... the one you have listed is very old (it is the one off the ISOs) BUT you can install the other version with this command: wget http://mirror.centos.org/centos/5/updates/i386/RPMS/kernel-2.6.18-8.1.14.el5.i686.rpm wget http://mirror.centos.org/centos/5/extras/i386/RPMS/kmod-drbd-8.0.6-1.2.6.18_8.1.14.el5.i686.rpm rpm -ivh kernel-2.6.18-8.1.14.el5.i686.rpm kmod-drbd-8.0.6-1.2.6.18_8.1.14.el5.i686.rpm (each command is one line if it wraps) I never use yum to update my DRBD servers anyway. I should have the CentOS Plus kernels and all the kmods for 2.6.18-8.1.15 done in a couple days. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos