[CentOS] gnome / gdm mess
Hello, My first attempt to install Gnome is not a bright success. If I boot in runlevel 5, using gdm, I get the login screen, but after login I get sometimes only the root window (no icons, no toolbar, no menu, nothing but keyboard shortcuts), sometimes the icons are here but not the toolbars... If I use startx from runlevel 3, everything is fine. As I don't know Gnome, I have very probably messed something during install (CentOS-6, x86_64, using uptodate netinstall iso, starting from Minimal Desktop). But I have no clue about where to look, or how to debug it. Can someone point me to some useful doc ? P.S. I'm surprised to see gdm and X running on tty1 (in runlevel 5, not 3). Is it correct ? Thanks for your help, -- Philippe Naudin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] R packaging question
I have been working on packaging (for internal use only) multiple versions of R (eg 2.14.1, 2.14.2, 2.15.0) such that I can install these RPMs and provide the different versions of R (especially 2.14.x and 2.15.x) to the biostatisticians that require them. I have been messing around with the R.spec file but I have been unable to get the package to provide R in the location I would like: /usr/lib64/R-2.14.1/ /usr/lib64/R-2.15.0/ Now I know this can be done but I am just having some difficulty in getting it to work correctly. I have tried multiple variations in the spec playing with adding -%{version} to the paths within the spec file, as well as even using -libdir=/usr/lib64/R-%{version} which works to a point, but basically provides: /usr/lib64/R-2.14.1/R/ /usr/lib64/R-2.15.0/R/ I have attached the spec file I have been modifying and would appreciate any insights into getting this packaging correct. Thank you in advance for any assistance Michael Weiner === Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S.News & World Report (2010). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] gnome / gdm mess
On 06/05/2012 06:03 AM, Philippe Naudin wrote: > Can someone point me to some useful doc ? google: site:docs.redhat.com install gnome ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to rotate PHP error log - since it belongs to apache
Hello, I'm using CentOS 6.2 with the stock rpm php-5.3.3-3.el6_2.8.x86_64 and the following /etc/php.ini file: error_reporting = E_ALL & ~E_DEPRECATED display_errors = Off error_log = /var/log/php/php_errors.log and that file is very useful for me because I have many custom PHP-scripts at my site, but that file keeps growing too... :-) So my question is for how to rotate it (esp. since it should be owned by "apache" user) - what do you guys use? Regards Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to rotate PHP error log - since it belongs to apache
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Farber said the following on 05/06/12 15:57: > So my question is for how to rotate it (esp. since it should be owned by > "apache" user) - what do you guys use? the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it since the rotation moves the old log and then reloads Apache, you don't have to worry about the ownership issue Ciao, luigi - -- / +--[Luigi Rosa]-- \ First Law of Socio-Genetics: Celibacy is not hereditary. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/OEeAACgkQ3kWu7Tfl6ZR5xACdGmRGc9sSBZVRiZy1pzuTBVv/ qsEAoKR1NfYc7lYMhtIwuYEtZd+0Rlfk =jRtF -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to rotate PHP error log - since it belongs to apache
Hello Luigi and others, On Tue, Jun 5, 2012 at 4:04 PM, Luigi Rosa wrote: > Alexander Farber said the following on 05/06/12 15:57: > >> So my question is for how to rotate it (esp. since it should be owned by >> "apache" user) - what do you guys use? > > the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it > > since the rotation moves the old log and then reloads Apache, you don't have > to worry about the ownership issue yes, I'm aware of that file and have modified the docs path in it because I have several vhosts too... Here is my current /etc/logrotate.d/httpd file: /var/log/httpd/my_vhost_1/*log { missingok notifempty sharedscripts delaycompress postrotate /sbin/service httpd reload > /dev/null 2>/dev/null || true endscript } But my problem is I don't know how to do it best - i.e. where to put the PHP log file /var/log/php/php_errors.log in the directives above and also how to rotate the logs for all vhosts I have (I currently rotate just for one - the "my_vhost_1" as you can see above) Regards Alex ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to rotate PHP error log - since it belongs to apache
And also the files I rotate by the /etc/logrotate.d/httpd belong to root and not Apache # ls -al /var/log/httpd/my_vhost_1/ -rw-r--r--. 1 root root 144298773 Jun 5 16:17 access_log -rw-r--r--. 1 root root 391503903 May 13 03:18 access_log-20120513 -rw-r--r--. 1 root root 369049605 May 20 03:35 access_log-20120520 -rw-r--r--. 1 root root 373837973 May 27 03:18 access_log-20120527 -rw-r--r--. 1 root root 381816772 Jun 3 03:32 access_log-20120603 -rw-r--r--. 1 root root 2854 Jun 5 14:01 error_log -rw-r--r--. 1 root root 4255 May 13 00:40 error_log-20120513 -rw-r--r--. 1 root root 5580 May 19 20:17 error_log-20120520 -rw-r--r--. 1 root root 6634 May 27 00:17 error_log-20120527 -rw-r--r--. 1 root root 6014 Jun 3 02:46 error_log-20120603 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
In dealing with an unrelated issue I came across this in rsyslog.conf. # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* /var/log/cron Why is there a "-" before /var/log/maillog? This character is not present before any of the other log files specified in /etc/rsyslog.conf. I have looked in the documents to discover the purpose of the leading "-" character in the mail log file specification but either I missed the reference or it is not there to be found. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] custom kernel build
Hi all, I have donwloaded 2.6.32.59 from kernel.org, extracted the source, did make menuconfig to select/deselect items then did make bzImage, make modules, make modules_install, make install and rebooted. first message I got was that ext4 was not supported. So I verified that ext4 was selected and it was. So I looked at the size of the /boot/initramfs* items. My custom one is really small compared to the normal one. My question is - what controls the items that get put in there (the initramfs stuff) when you do a "make install" for a custom kernel? Clearly it is not picking up the "normal" centos items that are in the other initramfs files. Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 75% - 80% Rebuild Complete
First I want to thank all of you who responded to me both on this list and in the CentOS wiki. Your responses helped greatly! I want to say that if you are running CentOS 5 and you do not have a overriding reason to go to CentOS 6, stay where you are. It was so much easier installing CentOS 6 on a new machine, migrating is next to impossible. Here's where I am today: 1. The base DVD install would not allow me to run the gnome desktop at 1920x1080 resolution with the default nVidia driver, the highest resolution I could obtain was 1024x768. However the text screen worked just fine after I introduced the video=1920x1080 in the grub.conf file. 2. When I installed the nVidia closed source drivers, the gnome desktop ran perfectly in the high resolution mode. The text mode then dropped to 1024x768 even though it retained the video=1920x1080 parameter (could it be those blacklist parameters introduced to disable the noveau drivers?). 3. During the installation I instituted software raid-1 along with LVM. It all worked perfectly until I got to the Boot Loader screen and instead of using the default (/dev/sda) I used what I thought would work in a raid-1 environment IF one of the hard drives went bad. I chose to install the boot loader in /dev/md0. Of course it would not boot. I recovered from this by going through the install and choosing to upgrade a existing installation and it allowed me to place the boot loader in /dev/sda. What that leaves me with is a raid-1 environment that works great as long as /dev/sda remains. How do I fix that??? 4. I still need to add all of those extra repositories (adobe; webmin; rpmfusion; etc). 5. I'm still trying to decide if I want a high resolution text screen (that I would use almost everyday) or a high resolution GUI screen (that I'll only use for certain application installs)??? At my 'real' job, we use RHEL and we've done some things using RHEL 6.2 for POC (Proof Of Concept) projects. With a POC, we install using a standard installation DVD (as opposed to using our RH Satellite Server). All of this to say that there are application installation options that really fit the needs of a server installation, you can choose 'Server' and 'Server GUI', which installs the gnome GUI without selecting a desktop environment.. Some things we run require a GUI to install (Oracle DB; IBM DB2 UDB; IBM WebSphere; etc.). How do I select this type of environment using CentOS 6.2? In other words, I'm running CentOS 6.2 x86_64 Desktop TIA, Gene Poole + It's impossible for everything to be true. + ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] custom kernel build
On Tue, Jun 5, 2012 at 7:42 AM, Jerry Geis wrote: > Clearly it is not picking up the "normal" centos items that are in the > other initramfs files. Because you did not build the kernel 'CentOS' way: http://wiki.centos.org/HowTos/Custom_Kernel Also, if you are building from a vanilla kernel (kernel.org), you may want to look at kernel-ml from ELRepo. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to rotate PHP error log - since it belongs to apache
From: Alexander Farber > And also the files I rotate by the > /etc/logrotate.d/httpd > belong to root and not Apache Maybe check the create option in the man page... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
On 06/05/2012 09:30 AM, James B. Byrne wrote: > In dealing with an unrelated issue I came across this in rsyslog.conf. > mail.* -/var/log/maillog > Why is there a "-" before /var/log/maillog? man syslog.conf You may prefix each entry with the minus ‘‘-’’ sign to omit syncing the file after every logging. Note that you might lose information if the system crashes right behind a write attempt. Nevertheless this might give you back some performance, especially if you run programs that use logging in a very verbose manner. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mysql
Hello List, I see that installing mysql in Centos 6.x creates a mysql user with a login shell of /bin/bash. Is a default password also installed? I certainly hope not, but it makes me nervous. -- Stephen Clark *NetWolves* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
Le mar. 05 juin 2012 10:30:25 CEST, James B. Byrne a écrit: > In dealing with an unrelated issue I came across this in rsyslog.conf. > > # The authpriv file has restricted access. > authpriv.* /var/log/secure > # Log all the mail messages in one place. > mail.* -/var/log/maillog > # Log cron stuff > cron.* /var/log/cron > > Why is there a "-" before /var/log/maillog? This character is not > present before any of the other log files specified in > /etc/rsyslog.conf. It means that writing to this logfile is not followed by a sync. -- Philippe Naudin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
Hello James, On Tue, 2012-06-05 at 10:30 -0400, James B. Byrne wrote: > In dealing with an unrelated issue I came across this in rsyslog.conf. > > # The authpriv file has restricted access. > authpriv.* /var/log/secure > # Log all the mail messages in one place. > mail.* -/var/log/maillog > # Log cron stuff > cron.* /var/log/cron > > Why is there a "-" before /var/log/maillog? Better question than it appears at first glance ;) . Nothing in man rsyslog.conf on C6, but on C5 man syslog.conf it says under "ACTIONS", "Regular File": "You may prefix each entry with the minus ‘‘-’’ sign to omit syncing the file after every logging. Note that you might lose information if the system crashes right behind a write attempt. Nevertheless this might give you back some performance, especially if you run programs that use logging in a very verbose manner." Now whether that minus is still supported under C6 I can't tell you :) . Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] custom kernel build
> > Because you did not build the kernel 'CentOS' way: > > http://wiki.centos.org/HowTos/Custom_Kernel > > Also, if you are building from a vanilla kernel (kernel.org), you may > want to look at kernel-ml from ELRepo. > Ok - is there a way to build "just a module" that disables the PAE code? I'm running on a smaller CPU. Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysql
Hello Steve, On Tue, 2012-06-05 at 10:57 -0400, Steve Clark wrote: > I see that installing mysql in Centos 6.x creates a mysql user > with a login shell of /bin/bash. Is a default password also installed? > > I certainly hope not, but it makes me nervous. See for yourself: # grep mysql /etc/shadow mysql:!!:15404:: Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] custom kernel build
On Tue, Jun 5, 2012 at 8:07 AM, Jerry Geis wrote: >> >> Because you did not build the kernel 'CentOS' way: >> >> http://wiki.centos.org/HowTos/Custom_Kernel >> >> Also, if you are building from a vanilla kernel (kernel.org), you may >> want to look at kernel-ml from ELRepo. >> > Ok - is there a way to build "just a module" that disables the PAE code? > I'm running on a smaller CPU. You'd have to modify the config to disable PAE. I suggest you first try the NONPAE version of ELRepo's kernel-ml to see if that works on your hardware. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 75% - 80% Rebuild Complete
On Tue, Jun 5, 2012 at 9:47 AM, Gene Poole wrote: > > 3. During the installation I instituted software raid-1 along with > LVM. It all worked perfectly until I got to the Boot Loader screen and > instead of using the default (/dev/sda) I used what I thought would work > in a raid-1 environment IF one of the hard drives went bad. I chose to > install the boot loader in /dev/md0. Of course it would not boot. I > recovered from this by going through the install and choosing to upgrade a > existing installation and it allowed me to place the boot loader in > /dev/sda. What that leaves me with is a raid-1 environment that works > great as long as /dev/sda remains. How do I fix that??? The MBR isn't mirrored, so you just have to install grub on the other drive, usually by executing grub, then: grub> root (hd1,0) grub> setup (hd1) but the numbers depend on how bios sees the alternate drive when the primary dies. It is always a good idea to practice re-installing grub from an install disk booted in rescue mode so you know how to fix things even if you have to move your mirror disk into the primary position to make it boot. > 5. I'm still trying to decide if I want a high resolution text screen > (that I would use almost everyday) or a high resolution GUI screen (that > I'll only use for certain application installs)??? If you sit at the machine, you probably want a high res gui and to do text work in terminal windows. If you don't sit at the machine you probably don't even want X installed for the console. Run freenx for occasional (or even regular) remote GUI access, or use ssh with X forwarding for single GUI applications at a time. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
On 06/05/2012 07:30 AM, James B. Byrne wrote: > In dealing with an unrelated issue I came across this in rsyslog.conf. > [...] > Why is there a "-" before /var/log/maillog? [...] A leading '-' indicates the the log is written asynchronously. It is a performance tune to keep writing the syslog from thrashing the system with syncs. See http://www.rsyslog.com/doc/rsyslog_conf_actions.html -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
Le mar. 05 juin 2012 17:06:32 CEST, Leonard den Ottolander a écrit: > Hello James, > > On Tue, 2012-06-05 at 10:30 -0400, James B. Byrne wrote: > > In dealing with an unrelated issue I came across this in rsyslog.conf. > > > > # The authpriv file has restricted access. > > authpriv.* /var/log/secure > > # Log all the mail messages in one place. > > mail.* -/var/log/maillog > > # Log cron stuff > > cron.* /var/log/cron > > > > Why is there a "-" before /var/log/maillog? > > Better question than it appears at first glance ;) . Nothing in man > rsyslog.conf on C6, but on C5 man syslog.conf it says under "ACTIONS", > "Regular File": > > "You may prefix each entry with the minus ‘‘-’’ sign to omit syncing the > file after every logging. Note that you might lose information if the > system crashes right behind a write attempt. Nevertheless this might > give you back some performance, especially if you run programs that use > logging in a very verbose manner." > > Now whether that minus is still supported under C6 I can't tell you :) . It seems this is no more necessary. From http://www.rsyslog.com/doc/v3compatibility.html : "In rsyslog v3, syncing has been turned off by default." OTOH, it doesn't hurt do let the minus sign in place. -- Philippe Naudin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysql
On 06/05/2012 11:13 AM, Leonard den Ottolander wrote: > See for yourself: > > # grep mysql /etc/shadow > mysql:!!:15404:: Ah - good, from man 5 shadow... encrypted password Refer to crypt(3) for details on how this string is interpreted. If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means). This field may be empty, in which case no passwords are required to authenticate as the specified login name. However, some applications which read the /etc/shadow file may decide not to permit any access at all if the password field is empty. A password field which starts with a exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked. -- Stephen Clark *NetWolves* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What to use on CentOS 6.2 w/ an Epson Stylus Photo 2200
Epson doesn't seem to have one; I see an rpm at openprinting.org, but that .rpm d/l I started around 11:30 my time, and the d/l slowed, and slowed, and it's been at 21% and "1 hr 17 min to go" for it seems like close to half an hour. I d/l a tar.bz2, but I'm not sure I want to build and install it - my use of this printer is temporary, and I want to be able to uninstall it all. I also can't seem to find what some of the Epson drivers in the std. CentOS CUPS packages handle. Anyone have any pointers? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to rotate PHP error log - since it belongs to apache
On 06/05/2012 10:15 AM, Alexander Farber wrote: > Hello Luigi and others, > > On Tue, Jun 5, 2012 at 4:04 PM, Luigi Rosa wrote: >> Alexander Farber said the following on 05/06/12 15:57: >> >>> So my question is for how to rotate it (esp. since it should be owned by >>> "apache" user) - what do you guys use? >> >> the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it >> >> since the rotation moves the old log and then reloads Apache, you don't have >> to worry about the ownership issue > > yes, I'm aware of that file and have modified > the docs path in it because I have several vhosts too... > > Here is my current /etc/logrotate.d/httpd file: > > /var/log/httpd/my_vhost_1/*log { > missingok > notifempty > sharedscripts > delaycompress > postrotate > /sbin/service httpd reload > /dev/null 2>/dev/null || true > endscript > } > > But my problem is I don't know how to do it best - > i.e. where to put the PHP log file > /var/log/php/php_errors.log > in the directives above and also how to rotate > the logs for all vhosts I have (I currently rotate just > for one - the "my_vhost_1" as you can see above) > > Regards > Alex > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos Create a different file under /etc/logrotate.d (perhaps name it "phplog", doesn't really mater though) and add the appropriate configuration options. I used this website to help me with the necessary options (though the man page is more than sufficient as well): http://www.thegeekstuff.com/2010/07/logrotate-examples/ Here is a custom logrotate conf I created for my catalina logs: [root@390405-web1 images]# cat /etc/logrotate.d/tomcat /opt/apache-tomcat-5.5.34/logs/catalina.out { daily copytruncate delaycompress missingok postrotate /root/bin/catlog_mv.sh endscript } If you were wanting to rotate according to the size of the file (perhaps 512MB, whatever works for you though) owned by apache, you might create a file under /etc/logrotate.d/ containing something like the following: /var/log/php/php_errors.log { size 512MB create 644 apache apache missingok compress } There's all kinds of other options you can add as well. Read the article I linked earlier and/or the man page, it's really pretty trivial. Good luck :) -- Andre Goree an...@drenet.info ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What to use on CentOS 6.2 w/ an Epson Stylus Photo 2200
> Epson doesn't seem to have one; I see an rpm at openprinting.org, but that > .rpm d/l I started around 11:30 my time, and the d/l slowed, and slowed, > and it's been at 21% and "1 hr 17 min to go" for it seems like close to > half an hour. I d/l a tar.bz2, but I'm not sure I want to build and > install it - my use of this printer is temporary, and I want to be able to > uninstall it all. > > I also can't seem to find what some of the Epson drivers in the std. > CentOS CUPS packages handle. Anyone have any pointers? > >mark __ Mark, this system was installed as 6.0 and upgraded to 6.2. In /etc/cups/ppd I see two files re Epson 2200 Stylus Photo: EPSON_Stylus_Photo_2200_USB_1.ppd and Stylus_Photo_2200.ppd. These were installed from install DVD. No known issues here. HTH. B.J. -- b.j. mcclure ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What to use on CentOS 6.2 w/ an Epson Stylus Photo 2200
b.j. mcclure wrote: > >> Epson doesn't seem to have one; I see an rpm at openprinting.org, but >> that .rpm d/l I started around 11:30 my time, and the d/l slowed, and slowed, >> and it's been at 21% and "1 hr 17 min to go" for it seems like close to >> half an hour. I d/l a tar.bz2, but I'm not sure I want to build and >> install it - my use of this printer is temporary, and I want to be able >> to uninstall it all. >> >> I also can't seem to find what some of the Epson drivers in the std. >> CentOS CUPS packages handle. Anyone have any pointers? > > > Mark, this system was installed as 6.0 and upgraded to 6.2. > > In /etc/cups/ppd I see two files re Epson 2200 Stylus Photo: >EPSON_Stylus_Photo_2200_USB_1.ppd and Stylus_Photo_2200.ppd. > > These were installed from install DVD. No known issues here. HTH. I found gutenprint, gutenprint-cups and gutenprint-foomatic, and installed them. I found the printer. Restarted cups, and told it to print a test page. kernel: usblp0: on fire *sigh* mark, not having a fun week ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dual NVidia cards, dual monitor
> Steven Chall wrote: > > I've just installed CentOS 6.2 on an HP xw8600 with two NVidia GeForce > > 8800 GT video cards in it. I have two Dell monitors than ran configured > > as a single contiguous desktop when this was a Windows 7 machine. I've > > only been able to access one of the two monitors under CentOS, although > > the system demonstrates some awareness of the second GPU/monitor, because > > Either install the proprietary NVidia driver, d/l from their website, by > hand, or install kmod-nvidia from elrepo, which will build it > automagically. In either case, it will install an NVidia control panel in > your menus, and you can select twinview. > >mark, on a Dell Precision with that as he types > Thanks, Mark, B.J., the elrepo route worked. There was a small hitch in that the "Twinview" option wasn't available (it was present but grayed out) on the NVidia control panel, but entering nvidia-xconfig --twinview on the command line as root did the trick. Steve -Steve Chall Senior Research Software Developer Renaissance Computing Institute (RENCI) Phone: 919-681-9639 Email: ste...@renci.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] cluster.conf validating, but cman not starting
Hi all, since the last yum update cman does not start any more with the following entries in /var/log/messages: > Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Corosync > Cluster Engine ('1.4.1'): started and ready to provide service. > Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Corosync > built-in features: nss dbus rdma snmp > Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Successfully > read config from /etc/cluster/cluster.conf > Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Successfully > parsed cman config > Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] parse error > in config: parse error in config: . > Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Corosync > Cluster Engine exiting with status 8 at main.c:1680 But the cluster config is okay: > [root@pclus1cent6-02 ~]# ccs_config_validate > Configuration validates Before the last yum update the cluster config was okay, cman started. The config has not been changed. Has anyone run into this problem? Even disabling config validation in /etc/sysconfig/cman does not change this behaviour. I am lost, and my cluster does not start. Any hint or help is highly appreciated. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cluster.conf validating, but cman not starting
On 06/05/2012 03:30 PM, Dirk wrote: > Hi all, > > since the last yum update cman does not start any more with the > following entries in /var/log/messages: > >> Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Corosync >> Cluster Engine ('1.4.1'): started and ready to provide service. >> Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Corosync >> built-in features: nss dbus rdma snmp >> Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Successfully >> read config from /etc/cluster/cluster.conf >> Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Successfully >> parsed cman config >> Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] parse error >> in config: parse error in config: . >> Jun 5 20:50:39 pclus1cent6-02 corosync[1852]: [MAIN ] Corosync >> Cluster Engine exiting with status 8 at main.c:1680 > But the cluster config is okay: >> [root@pclus1cent6-02 ~]# ccs_config_validate >> Configuration validates > Before the last yum update the cluster config was okay, cman started. > The config has not been changed. > > Has anyone run into this problem? Even disabling config validation in > /etc/sysconfig/cman does not change this behaviour. > > I am lost, and my cluster does not start. Any hint or help is highly > appreciated. > > Dirk I've updated CentOS 6.x clusters without issue. Please paste you cluster.conf, obfuscating only passwords please. -- Digimer Papers and Projects: https://alteeve.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XEN or KVM - performance/stability/security?
On 06/04/2012 11:36 PM, Pasi Kärkkäinen wrote: > > Xen PV has been rock solid for me :) Maybe, if we ignore the fact that you seem to be familiar with the problem of xenconsoled failing and preventing guests from booting. > Xen is supported by Red Hat support in RHEL5. Yes, and RHEL5 will be supported for several years. However, there does not appear to be a plan to support Xen in the future, after RHEL5 expires. It would be irrational to invest time and money into training on Xen with no expectation that those skills will remain valuable in the future. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Errors in dmesg
Hi. I have a RHEL server that has some errors in dmesg , what do they mean, how do I fix them ? mtrr: type mismatch for f900,80 old: write-back new: write-combining mtrr: type mismatch for f900,100 old: write-back new: write-combining mtrr: type mismatch for f9fe,1 old: write-back new: write-combining mtrr: type mismatch for f9fc,2 old: write-back new: write-combining mtrr: type mismatch for f9f8,4 old: write-back new: write-combining mtrr: type mismatch for f9f0,8 old: write-back new: write-combining mtrr: type mismatch for f9e0,10 old: write-back new: write-combining mtrr: type mismatch for f9c0,20 old: write-back new: write-combining mtrr: type mismatch for f980,40 old: write-back new: write-combining mtrr: type mismatch for f900,80 old: write-back new: write-combining mtrr: type mismatch for f9fe,1 old: write-back new: write-combining mtrr: type mismatch for f9fc,2 old: write-back new: write-combining mtrr: type mismatch for f9f8,4 old: write-back new: write-combining mtrr: type mismatch for f9f0,8 old: write-back new: write-combining mtrr: type mismatch for f9e0,10 old: write-back new: write-combining mtrr: type mismatch for f9c0,20 old: write-back new: write-combining mtrr: type mismatch for f980,40 old: write-back new: write-combining mtrr: type mismatch for f900,80 old: write-back new: write-combining input: AT Translated Set 2 keyboard as /class/input/input4 altera_installe[6598]: segfault at rip rsp ffd6af2c error 14 INFO: task kjournald:1793 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kjournald D 810c6a193e40 0 1793843 1819 1789 (L-TLB) 81183fdc9cf0 0046 810c3fbe4780 810c3f574600 810c3f574600 000a 810c3f88f7e0 810c3e843860 0011dd0b95e546c6 a1a4 810c3f88f9c8 000400074c00 Call Trace: [] do_gettimeofday+0x40/0x90 [] getnstimeofday+0x10/0x29 [] sync_buffer+0x0/0x3f [] io_schedule+0x3f/0x67 [] sync_buffer+0x3b/0x3f [] __wait_on_bit+0x40/0x6e [] sync_buffer+0x0/0x3f [] out_of_line_wait_on_bit+0x6c/0x78 [] wake_bit_function+0x0/0x23 [] :jbd:journal_commit_transaction+0x968/0x10c2 [] lock_timer_base+0x1b/0x3c [] :jbd:kjournald+0xc1/0x213 [] autoremove_wake_function+0x0/0x2e [] :jbd:kjournald+0x0/0x213 [] keventd_create_kthread+0x0/0xc4 [] kthread+0xfe/0x132 [] child_rip+0xa/0x11 [] keventd_create_kthread+0x0/0xc4 [] kthread+0x0/0x132 [] child_rip+0x0/0x11 INFO: task VBoxHeadless:20743 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. VBoxHeadless D 801563dc 0 20743 1 20742 (NOTLB) 8107717ebd98 0086 000c717ebd18 0001 0004 000a 810b3acfb040 810c400a4040 0011dd0835789020 000161a0 810b3acfb228 00040092 Call Trace: [] :jbd:log_wait_commit+0xa3/0xf5 [] autoremove_wake_function+0x0/0x2e [] :jbd:journal_stop+0x1d3/0x203 [] __writeback_single_inode+0x1dd/0x31c [] sync_inode+0x24/0x33 [] :ext3:ext3_sync_file+0xce/0xf8 [] do_fsync+0x52/0xa4 [] __do_fsync+0x23/0x36 [] tracesys+0xd5/0xe0 INFO: task VBoxHeadless:20743 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. VBoxHeadless D 801563dc 0 20743 1 20742 (NOTLB) 8107717ebd98 0086 000c717ebd18 0001 0004 000a 810b3acfb040 810c400a4040 0011dd0835789020 000161a0 810b3acfb228 00040092 Call Trace: [] :jbd:log_wait_commit+0xa3/0xf5 [] autoremove_wake_function+0x0/0x2e [] :jbd:journal_stop+0x1d3/0x203 [] __writeback_single_inode+0x1dd/0x31c [] sync_inode+0x24/0x33 [] :ext3:ext3_sync_file+0xce/0xf8 [] do_fsync+0x52/0xa4 [] __do_fsync+0x23/0x36 [] tracesys+0xd5/0xe0 Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 75% - 80% Rebuild Complete
OK, I'm about 90% sure that I've corrected the boot loader situation with RAID-1 and the second hard drive. I haven't tested the correction, but here's what I did: Examined the grub.conf file and noticed that hd0 uses (hd0,1), so what followed was grub grub> device (hd1) /dev/sdc grub> root (hd1,1) grub> setup (hd1) grub> quit I didn't rebuild the boot loader on /dev/sda because it is working (if it ain't broke don't fix it). My situation is that I'm using 4 - 1 TB hard drives and I used the following pattern: /dev/sda | /dev/sdc = First Raid -1 volume /dev/sdb | /dev/sdd = Second Raid-1 volume Thanks all for the suggestions and thoughts! Gene ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Mysql cluster vs. mysql-libs
Hi, it seems even a minimal install of Centos 6.2 now requires mysql-libs as a dependency for postfix and cronie. When I try to install the mysql cluster rpms from mysql.com I get a collision between the files. Since this is the first time I get into contact with mysql cluster I wonder if somebody has an idea how to resolve this or knows alternative packages that don't conflict with mysql-libs? Regards, Dennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 75% - 80% Rebuild Complete
On 5.6.2012 17:15, Les Mikesell wrote: > On Tue, Jun 5, 2012 at 9:47 AM, Gene Poole > wrote: >> >> 3. During the installation I instituted software raid-1 along with >> LVM. It all worked perfectly until I got to the Boot Loader screen and >> instead of using the default (/dev/sda) I used what I thought would work >> in a raid-1 environment IF one of the hard drives went bad. I chose to >> install the boot loader in /dev/md0. Of course it would not boot. I >> recovered from this by going through the install and choosing to upgrade a >> existing installation and it allowed me to place the boot loader in >> /dev/sda. What that leaves me with is a raid-1 environment that works >> great as long as /dev/sda remains. How do I fix that??? > > The MBR isn't mirrored, so you just have to install grub on the other > drive, usually by executing grub There is an open bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=799501 I am irritated regularly about this. Because It WORKSFORME. Of course the mbr isn't mirrored but at installation time it is written to both disks. I wipe the mbr of sdb, reinstall and after that $ dd if=/dev/sdb count=1 bs=512|strings shows something like GRUB, on *both disks* in /root/anaconda-ks.cfg I find bootloader --location=mbr --driveorder=sda,sdb ... in the original kickstart there is bootloader --location=mbr ... I did it per kickstart, is this a problem with manual installs only? Or only with upgrade mode (Gene said he used upgrade mode)? But then again there is this bugzilla... -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos