Re: [CentOS] Centos 7 Boot Partition
500 MB should be fine for the /boot partition. I believe that is the default with minimal installations on both CentOS 6 and 7. -- Paul Norton On Wed, Nov 16, 2016 at 8:49 AM, John Hodrien <j.h.hodr...@leeds.ac.uk> wrote: > On Wed, 16 Nov 2016, Matt wrote: > > Can I just change yum.conf with the setting installonly_limit=2 to >> limit kernels installed too two? >> > > I really wouldn't. You can scrape by with that if you also make sure you > don't have dracut-config-rescue installed, but you can find yourself > struggling even with that, and so have to micromanage even further. > Upgrade a > kmod, watch /boot fill up, and find yourself in a bad place. > > If you only had it set to 200M, I'd reinstall now. If you had it set to > 500M, > you'd cope. > > jh > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Critical update for bash released today.
John Doe wrote: If I understood correctly, the current fix is incomplete and another fix is planned? Yes. More info here - https://access.redhat.com/security/cve/CVE-2014-7169 Also, in the advisory, RH says that after the update, servers need to be rebooted... Really? No. From https://access.redhat.com/articles/1200223 --- Do I need to reboot or restart services after installing this update? No, a reboot of your system or any of your services is not required. This vulnerability is in the initial import of the process environment from the kernel. This only happens when Bash is started. After the update that fixes this issue is installed, such new processes will use the new code, and will not be vulnerable. Conversely, old processes will not be started again, so the vulnerability does not materialize. --- -- Paul Norton ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux Question
Hello Ken Try this search term site:danwalsh.livejournal.com in your searches. Also this is a good book http://www.amazon.com/SELinux-Example-Using-Security-Enhanced/dp/0131963694/ref=sr_1_2?ie=UTF8qid=1374504654sr=8-2keywords=selinux This is the best I can do as I don't understand. What message? Could you post it? If its bind, did you check iptables? All the best Paul On 22 July 2013 15:41, Ken Smith k...@kensnet.org wrote: Hi Guys, My google foo is failing me this afternoon. Just configuring a new C6 install. I know there are SELinux alerts happening, eg: I know I need to enable named to write to the local .jnl file as part of dynamic DNS, but sealert -b is not listing any alerts. I can see raw audit messages. Is there some daemon I have forgotten to start or install? Thanks Ken -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] repeat command
Hello Matt try man watch All the best Paul On 2 May 2013 22:05, Matt matt.mailingli...@gmail.com wrote: There is a unix command called repeat. repeat 10 some_command Basically repeats some command ten times. Is it available on Centos 6 and what package provides it? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] repeat command
ok I'd use a script and use sleep On 2 May 2013 22:26, Matt matt.mailingli...@gmail.com wrote: Hello Matt try man watch All the best Paul What I am trying to do is: http://www.redbarn.org/dns/ratelimits repeat 10 dig @server-ip-address +short +tries=1 +time=1 your-zone.com a Can I do that with watch? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Repartitioning issues - advice needed, and info.
Hello Bruce All you need is a terminal/shell ssh validusername@ipaddress then type vgdisplay which is under man lvm Another route: From centos dvd select rescue and follow instructions https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ap-rescuemode.html#Rescue_Mode-x86 Check file privileges on drupal. I've head some funny stories from some severs running wordpress (to do with lack of privileges around upload folder not wordpress) what do your logs say in /var/log/ what does dmesg All the best Paul On 2 April 2013 20:33, Bruce Whealton br...@futurewaveonline.com wrote: -- john r pierce 37N 122W somewhere on the middle of the left coast Hello Bruce This is a great start - https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723forum=54 What Database do you have on you server? Where did you create the data dir? On the home/business system, I have mysql. By data directory, do you mean, apache web directory? I did setup owncloud and installed that inside my first virtual host. So, the apache data directory is at: /var/www/ I mapped the domain futurewavewebhosting.com to the location first specified in httpd.conf, which is /var/www/html/public_html/ So, owncloud is in /var/www/html/public_html/owncloud Just to be able to figure out how to setup virtual hosts, I setup them at /var/www/vhosts/mydomain.com/ Do you have wordpress running? under httpd (apache)? I have drupal, and owncloud, and some other small scripts I developed. Do you have a mail server running? I started setting that up but couldn't get it to send to an external domain. It may be my ISP blocks that port. Please run the script(getinfo.sh) and paste to pastebin. I'll try. I can get in with the liveDVD. When I do that the other directories are locked and so the script needs to be run when I am not using liveDVD. The problem seems to be when it tries to create a tmp file for vnc. The idea was to get to my desktop from my other computer using tightvnc on my windows system. Maybe the tmp file directory is full for root only. I can get to the login prompt. I'll try one of the other usernames. Otherwise, I need a way to see if I can get into the system without loading the GNOME desktop, just the terminal. Then I need a way to tell it Put the temp files for vnc into this much bigger partition. I'd use fdisk or parted to create a partition. Then set the id/type to 82 linux swap. Then mkswap on the new drive. Copy the contents of the old swap using the dd command to the new drive. Then swapon and swapoff and update /etc/fstab. Then free to check new swaps up. So, I should be able to create a boot disk that will let me use fdisk or parted, which I might already have. man lvm Read more about lvm here. http://www.techotopia.com/index.php/Adding_a_New_Disk_to_a_CentOS_6_Volume_G roup_and_Logical_Volume All the best Paul For the dedicated host that I have, is there a way to shrink one partition to free up space for another, to expand another partition? Thanks, Bruce ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Repartitioning issues - advice needed, and info.
On 2 April 2013 01:59, John R Pierce pie...@hogranch.com wrote: On 4/1/2013 5:54 PM, Bruce Whealton wrote: Not it is the /etc partition that is full every other day. It is a 10GB partition and most of the data is in the mail spool directories. the /etc directory A) shouldn't be a separate partition, it should be on / and B) should just contain system configuration files, in no way should there be anything like mail spools in there.the standard place for mail spools is /var/spool/mail the rest of your message was just a little too run on and too many different things jammed together for me to want to make sense of. -- john r pierce 37N 122W somewhere on the middle of the left coast Hello Bruce This is a great start - https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723forum=54 What Database do you have on you server? Where did you create the data dir? Do you have wordpress running? under httpd (apache)? Do you have a mail server running? Please run the script(getinfo.sh) and paste to pastebin. I'd use fdisk or parted to create a partition. Then set the id/type to 82 linux swap. Then mkswap on the new drive. Copy the contents of the old swap using the dd command to the new drive. Then swapon and swapoff and update /etc/fstab. Then free to check new swaps up. man lvm Read more about lvm here. http://www.techotopia.com/index.php/Adding_a_New_Disk_to_a_CentOS_6_Volume_Group_and_Logical_Volume All the best Paul * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] silencing Passenger ps SELinux errors
On 27 March 2013 13:09, ign...@vault13.lt ign...@vault13.lt wrote: Hello, how do people cope with constant SELinux errors like this from Fusion Passenger: 36886. 03/27/2013 14:20:05 ps unconfined_u:system_r:passenger_t:s0 2 file open system_u:system_r:udev_t:s0-s0:c0.c1023 denied 1922 36887. 03/27/2013 14:20:05 ps unconfined_u:system_r:passenger_t:s0 4 dir getattr unconfined_u:system_r:initrc_t:s0 denied 1927 36888. 03/27/2013 14:20:05 ps unconfined_u:system_r:passenger_t:s0 2 dir search unconfined_u:system_r:initrc_t:s0 denied 1928 It happens when Passenger v3 tries to determine memory stats with ps. There is an Apache directive to turn it of ( http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerMemoryLimit ), unfortunately it does not work in community version of Passenger. The cause is always ps running as passenger_t trying to read files in /proc with various types of security context. Thank you, IgnasR ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hello IgnasR I think that you've posted to the wrong list. The app server support list is here https://groups.google.com/forum/?fromgroups#!forum/phusion-passenger Dan Walsh is a great place to start with SELinux http://people.redhat.com/dwalsh/ SElinux by example takes a great theory and hands on approach http://www.amazon.com/SELinux-Example-Using-Security-Enhanced/dp/0131963694 All the best Paul -- * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with thread Centos 6.4 won't reboot on install
On 26 March 2013 21:29, Johnny Hughes joh...@centos.org wrote: On 03/26/2013 03:25 PM, Robert Benjamin wrote: On 3/26/2013 3:14 PM, Benjamin Donnachie wrote: On 26 March 2013 18:58, m.r...@5-cent.us wrote: Had you, for example, searched to find out a) how to look at a file, b) looked at the files I suggested you look at, or c) showed you'd done ANYTHING other than read my response and go, duh, what's that mean?, I'd have been willing to work with you. I had done some of the things you said. Did find out a) and b) and I think I posted output from cat /etc/sysconfig/network-scripts/ifcfg-eth0 in the thread. I know it is there in post 26. Trying to learn Linux at age 77 ain't easy. The comments from different ppl will not send me scurrying back to windows. I have no probs with Ubuntu 12.2 nor Mint 14. Both installed on their own HDs the first time and I didn't have to edit anything. Only CentOS is giving me troubles which is a surprising thing to me. Is this due to differences between Debian and PRM. No, the problem is that you did not turn on networking when you did the install. Since networking is off, you have to get it turned on (or reinstall and turn it on this time). See this FAQ entry: http://wiki.centos.org/FAQ/CentOS6#head-b67e85d98f0e9f1b599358105c551632c6ff7c90 and this screen on how to do it on an install: http://www.server-world.info/en/note?os=CentOS_6p=install In the 8th step ... you need to press the Configure Network button and you need to then check the Connect Automatically box (per the above FAQ link). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hello Robert Benjamin Can you do the following? 1) Start laptop until you get gnome. 2) Instead of logging in hold down ctrl+alt+f1 (ctrl+alt+f7 to get back to window) 3) This is your shell (bash by default) sort of like cmd in windows. 4) log in as root most log files live here /var/log/ Cat is a shell command: man cat if you want to know more (from shell) vi is like edit in cmd 5) Push return and then type cat /var/log/messages |more That were a lot of apps including gnome report. cat /var/log/messages |grep fail I'm guessing your problem is not gnome but x windows (X11) type: X -probeonly startx.out dmesg |grep fail Redhat say laptops are the hardest to support. They say they start here. http://www.linux-on-laptops.com/dell.html From the link Dell inspiron which version? Redhat docs http://www.redhat.com/support/resources/faqs/rhl_general_faq/FAQ.html https://access.redhat.com/knowledge/docs/Red_Hat_Enterprise_Linux/?locale=en-US Have you got a wireless network up ? http://wiki.centos.org/HowTos/Laptops/Wireless man iwconfig My two pennies. I think your CentOS is running fine. You have a problem with X or Gnome. I'd do this. (assumes you have a network conection) init 3 yum groupinstall XFCE init 5 Select user from select box. Before entering password look down(bottom middle of screen and select gnome xfce) log in. If you still have a fail, points to X (X.org ) Hope this helps. Paul -- * I know one thing: That I know nothing* - Socrates *We're all explorers here* - T S Eliot ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [OT] how does ELF record file scope things?
On 18 February 2013 01:56, Michael Hennebry henne...@web.cs.ndsu.nodak.eduwrote: fred.c: static void sfunc(int *p) { *p=1; } static int x; void fred(void) { ... sfunc(x); ... } greg.c: static void sfunc(int *p) { *p=2; } static int x; void greg(void) { ... sfunc(x); ... } Once the object files from fred.c and greg.c are linked, how does ELF distinguish the sfunc's and the x's? I've been trying to RTFM, but it hasn't helped? -- Michael henne...@web.cs.ndsu.nodak.edu On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword. -- Lily ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos The variables and functions belong to a block/file, this is their scope. Both functions/variables you mention are actually unique within their respective file scope. Also have a look at name mangling. http://en.wikipedia.org/wiki/Name_mangling. Gcc help @ http://gcc.gnu.org/ml/gcc-help/ IAll the best. Paul -- It is a good day to die, Duras. And the day is not yet over* **Lieutenant Worf* ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Eclipse CDT not working properly
Hello Toralf Removed the 32bit JRE and set the default to 64bit which java Check here https://bugzilla.redhat.com/show_bug.cgi?id=477766 Or set the vm from the shell as mentioned here http://wiki.eclipse.org/IRC_FAQ#I_just_installed_Eclipse_on_Linux.2C_but_it_does_not_start._What_is_the_problem.3F From here. http://www.eclipse.org/downloads/ Download Eclipse ide for c/c++ developers I have run eclipse(C/C++) on xfce with OpenJDK. No problems. It works fine for C. All the best Paul On Thu, Feb 7, 2013 at 1:06 PM, Toralf Lund toralf.l...@pgs.com wrote: Hello again, Another problem with my new CentOS 6 installation: The C/C++ support in Eclipse seems to be partial or missing - even though eclipse-cdt is installed. Eclipse starts all right, and I get a C/C++ perspective, but: 1. If I open a C++ file, it's sent to an external editor. 2. C or C++ is not mentioned in Preferences. 3. I can't find a reference to CDT under Help-About Eclipse Platform-Installation Details I've tried reinstalling all the eclipse packages, and also resetting the workspace as well as the settings in ~/.eclipse, but it made no difference. On startup I get the following messages: CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.init CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile CompilerOracle: exclude org/python/pydev/ui/filetypes/FileTypesPreferencesPage.getDottedValidSourceFiles Has anyone else seen this? Any idea what's wrong? Is anyone here are using Eclipse for C++ development, anyway? Eclipse platform version is 3.6.1-6.13.el6.x86_64, CDT 7.0.1-4.el6.x86_64 (those are the latest from updates.) - Toralf This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author. ___ 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-virt] CentOS-6 KVM virt-manager will not shutdown guest
Hi James, -Original Message- From: centos-virt-boun...@centos.org [mailto:centos-virt- boun...@centos.org] On Behalf Of James B. Byrne Sent: Wednesday, September 07, 2011 1:53 PM To: centos-virt@centos.org Subject: [CentOS-virt] CentOS-6 KVM virt-manager will not shutdown guest I have a CentOS-6 guest VM configured on a CentOS-6 host. If I run virt-manager then I can start the guest VM but once it is running I cannot get a shutdown command to have effect. To shutdown the running guest I either must select Force Off from the Shut Down menu or open the guest console and issue shutdown from the command line. Is there some setting that is required to have Shut Down have effect when issued from within virt-manager? is this a bug or a configuration problem? When I issue the shutdown command to the guest then there is no entry made in /var/log/messages. It just has no effect. However, if I issue a reboot command from the same menu then I get an error: libvirtd: 16:43:51.027: error: VirLibConnError 450 : this function is not supported by the connection driver: virDominReboot Am I to infer that Reboot and Shutdown options actually are not available to use from the virt-manager Shut Down menu, notwithstanding that they are present? You need to have acpid installed. In your KVM VM guest, run the following: yum -y install acpid service acpid start chkconfig acpid on -- Paul Norton Linux Network Consultant TechnoCom Corporation(tm) Direct: +1.760.644.5510 Email: pnor...@technocom-wireless.com Web: www.technocom-wireless.com ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS] RHEL 6 Beta available for public download
RHEL 6 mirror and torrents http://distrowatch.com/?newsid=06021 I was getting a solid 1.3 MB/s from the mirror link. Timo Schoeler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://press.redhat.com/2010/04/21/red-hat-enterprise-linux-6-beta-available-today-for-public-download/ ...says it all. Have phun! Timo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFLzuMEfg746kcGBOwRAgjYAJ9QkJvm40sOVAOcUk4edQ98bM5CKgCgomte W8RuS+4FvyB/54jUnP+bT+A= =m6zn -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Paul Norton Systems Administrator Neoverve -www.neoverve.com Neoverve Blog -http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: i didn't see the 4.7 announcement
Scott Silva wrote: I don't even have any hits in my logs on that date, and I rechecked my filters. I have Centos 4 in i686 and x86_64 and CentOS 5 in the same arches. Maybe it only fell under the General CentOS 4 filter and didn't trickle out to the individual arches. You're not alone. I didn't receive the email either. I have also checked my subscriptions, and CentOS 4 is one of them. -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RH's servers breached
On Aug 22, 2008, at 12:25 PM, Jim Perrin wrote: Russ has posted some information about this to planet.centos.org, but basically at this point it does not appear to affect the CentOS population. Karanbir has been crawling through the build system to verify this, and we may release an announcement about this later. I see an announcement for the packages on the announce list, but no more informamtion anywhere from the CentOS team (Planet or ML). Are these packages just to be safe or was there something actually found? -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Postfix dying
Christopher Chan wrote: Do you sometimes find anvil missing? I wonder if you can strace master and see what it is doing or waiting for... This happened again this morning. I see the anvil process died - 22815 ? Z 0:13 [anvil] defunct # strace -p 22799 Process 22799 attached - interrupt to quit futex(0xb7bc2bec, FUTEX_WAIT, 2, NULL unfinished ... That's all there was from strace. I saw your post on the postfix list. Do you really have problems with number of file handles? IIRC file-max is automatically adjusted? On my box it is pretty high at 48520 without any tuning on my part. I don't believe so. I don't see errors like this anywhere else on the system. What does 'sysctl fs.file-nr' say? fs.file-nr = 2240 0 205964 -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Postfix dying
Joshua Gimer wrote: Postfix is dying on one of my servers almost nightly. This system is running CentOS5 with postfix-2.3.3-2. What does the IO wait look like on the system? Is this system under high load? Only late at night when back up scripts are running. At this time though is when I start seeing the error from postfix. You might want to check to make sure that syslog is not calling sync every time that it writes to file. /etc/syslog.conf Should be a -' in front of /var/log/messages Thanks. I have set this to -/var/log/messages now. -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Postfix dying
Christopher Chan wrote: Paul Norton wrote: Christopher Chan wrote: Paul Norton wrote: Postfix is dying on one of my servers almost nightly. This system is running CentOS5 with postfix-2.3.3-2. In the morning (after noticing it died) I try to run `service postfix stop` and I get a failed start. Running `ps ax | grep postfix` I can see one process still running for postfix. After killing this, I am able to run `service postfix start`. Which process is it? smtpd? master? Master Do you sometimes find anvil missing? I wonder if you can strace master and see what it is doing or waiting for... This happened again this morning. I see the anvil process died - 22815 ? Z 0:13 [anvil] defunct # strace -p 22799 Process 22799 attached - interrupt to quit futex(0xb7bc2bec, FUTEX_WAIT, 2, NULL unfinished ... That's all there was from strace. -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Postfix dying
Christopher Chan wrote: Paul Norton wrote: Christopher Chan wrote: Paul Norton wrote: Postfix is dying on one of my servers almost nightly. This system is running CentOS5 with postfix-2.3.3-2. In the morning (after noticing it died) I try to run `service postfix stop` and I get a failed start. Running `ps ax | grep postfix` I can see one process still running for postfix. After killing this, I am able to run `service postfix start`. Which process is it? smtpd? master? Master Do you sometimes find anvil missing? I wonder if you can strace master and see what it is doing or waiting for... I'll have to check the next time postfix dies. I'll run an strace on the process too. If anyone else has any suggestions, I would really appreciate it. -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Postfix dying
Christopher Chan wrote: Paul Norton wrote: Postfix is dying on one of my servers almost nightly. This system is running CentOS5 with postfix-2.3.3-2. In the morning (after noticing it died) I try to run `service postfix stop` and I get a failed start. Running `ps ax | grep postfix` I can see one process still running for postfix. After killing this, I am able to run `service postfix start`. Which process is it? smtpd? master? Master -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Postfix dying
Hello list, Postfix is dying on one of my servers almost nightly. This system is running CentOS5 with postfix-2.3.3-2. In the morning (after noticing it died) I try to run `service postfix stop` and I get a failed start. Running `ps ax | grep postfix` I can see one process still running for postfix. After killing this, I am able to run `service postfix start`. I see a lot of this in my maillog: Nov 7 00:25:13 servername postfix/smtpd[16727]: lost connection after CONNECT from unknown[201.251.x.x] Nov 7 00:25:13 servername postfix/smtpd[16715]: disconnect from unknown[201.251.x.x] Nov 7 00:25:13 servername postfix/smtpd[16727]: disconnect from unknown[201.251.x.x] Nov 7 00:25:13 servername postfix/smtpd[16723]: warning: connect to private/anvil: Resource temporarily unavailable Nov 7 00:25:13 servername postfix/smtpd[16723]: warning: problem talking to server private/anvil: Resource temporarily unavailable Nov 7 00:25:13 servername postfix/smtpd[16723]: lost connection after CONNECT from unknown[201.251.x.x] Nov 7 00:25:13 servername postfix/smtpd[16723]: disconnect from unknown[201.251.x.x] Nov 7 00:27:22 servername postfix/smtpd[16184]: warning: timeout on private/anvil while reading input attribute name Nov 7 00:27:22 servername postfix/smtpd[16184]: warning: problem talking to server private/anvil: Connection timed out Nov 7 00:27:22 servername postfix/smtpd[16910]: warning: timeout on private/anvil while reading input attribute name Nov 7 00:27:22 servername postfix/smtpd[16910]: warning: problem talking to server private/anvil: Connection timed out Nov 7 00:27:22 servername postfix/smtpd[16726]: warning: timeout on private/anvil while reading input attribute name Nov 7 00:27:22 servername postfix/smtpd[16726]: warning: problem talking to server private/anvil: Connection timed out Nov 7 00:27:23 servername postfix/smtpd[16184]: warning: connect to private/anvil: Resource temporarily unavailable Nov 7 00:27:23 servername postfix/smtpd[16184]: warning: problem talking to server private/anvil: Resource temporarily unavailable Nov 7 00:27:23 servername postfix/smtpd[16184]: lost connection after CONNECT from unknown[201.251.x.x] Nov 7 00:27:23 servername postfix/smtpd[16184]: disconnect from unknown[201.251.x.x] Nov 7 00:27:23 servername postfix/smtpd[16910]: warning: connect to private/anvil: Resource temporarily unavailable Nov 7 00:27:23 servername postfix/smtpd[16910]: warning: problem talking to server private/anvil: Resource temporarily unavailable Nov 7 00:27:23 servername postfix/smtpd[16910]: lost connection after CONNECT from unknown[86.123.x.x] Nov 7 00:27:23 servername postfix/smtpd[16910]: disconnect from unknown[86.123.x.x] Nov 7 00:27:23 servername postfix/smtpd[16726]: warning: connect to private/anvil: Resource temporarily unavailable Nov 7 00:27:23 servername postfix/smtpd[16726]: warning: problem talking to server private/anvil: Resource temporarily unavailable Nov 7 00:27:23 servername postfix/smtpd[16726]: lost connection after CONNECT from cpe-024-x-x-x.carolina.x.x.com[24.74.x.x] Nov 7 00:27:23 servername postfix/smtpd[16726]: disconnect from cpe-024-074-x-x.carolina.x.x.com[24.74.x.x] TIA for any suggestions. -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Network issue after new kernel install
Hello CentOS list, On all of my CentOS 5 VMWare ESX3 virtual machines (about 15), after installing a new kernel and rebooting the machine, the Network script tries to run dhclient and can't determine the IP info (since I don't run a dhcpd server... it's a static IP only lan). This also backs up my ifcfg-eth0 file to ifcfg-eth0.bak and writes a new ifcfg-eth0 that has dhcpd with no IP info. Copying the ifcfg-eth0.bak to ifcfg-eth0 and running /etc/init.d/network start or ifup eth0 brings my network back up. This is an example of what one of my ifcfg-eth0 files looks like... # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth0 BROADCAST=69.x.x.x #HWADDR=00:50:56:9C:19:7D IPADDR=69.x.x.x IPV6ADDR= IPV6PREFIX= NETMASK=255.255.255.0 NETWORK=69.x.x.0 ONBOOT=yes Any ideas? TIA, -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network issue after new kernel install
Michael D. Kralka wrote: Paul Norton wrote: On all of my CentOS 5 VMWare ESX3 virtual machines (about 15), after installing a new kernel and rebooting the machine, the Network script tries to run dhclient and can't determine the IP info (since I don't run a dhcpd server... it's a static IP only lan). This also backs up my ifcfg-eth0 file to ifcfg-eth0.bak and writes a new ifcfg-eth0 that has dhcpd with no IP info. Copying the ifcfg-eth0.bak to ifcfg-eth0 and running /etc/init.d/network start or ifup eth0 brings my network back up. I have found that kudzu does this if it detects changes in the MAC addresses of your NICs. Did you clone/copy your virtual machine and did VMware regenerate MAC addresses for your virtual NICs? Yes, these are all clones(From one base image). Would I just copy the MAC address given from VMWARE to the ifcfg-eth0 file? -- Paul Norton Systems Administrator Neoverve - www.neoverve.com Neoverve Blog - http://blog.neoverve.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos