Ubuntu Servers :: 10.04.2 Server - Intermittently Hangs With No Indication Of Cause In Logs?

Sep 1, 2011

The attached log file includes two crashes/reboots within the past day or so I have recently started trying to set up / manage a Linux (Ubuntu 10.04.2 LTS) server in our data center (all other servers are Windows boxes). The server periodically hangs and becomes unresponsive and I'm at a loss to find anything in any log that indicates a specific cause. Sometimes it's up for hours, sometimes days (14 days at longest). Plugging a monitor in to the machine after a hang shows nothing at all. In an effort to troubleshoot the problem we've tried disabling APIC, more out of "educated desperation" than anything else. Unfortunately we are limited in some of the troubleshooting we can do, as we have a single client website hosted on the box (the reason we set it up) so anything that involves significant downtime is a problem.

As this is our first attempt at setting up a linux box, we are using a "well equipped" desktop grade machine but not what I would call "server grade" hardware. This is a standalone box, not a VPS. We are using a hardware, not software, RAID array and have plenty of memory in the box.

Caveats / Background:

I am relatively new to Linux in general. I spend much more time writing code than managing servers. I'm comfortable with working on the box, but I'm not really a sysadmin guy. I'm comfortable with the command line but have more experience with OS X (BSD). I am unsure of all of the tools / information / Logs that may be available, though I try to be thorough in checking what I do know. I did not physically configure the hardware so I'm not sure of all of the specs but I can get any info I need to troubleshoot. I may be skipping very basic steps or missing obvious places to look for information without knowing it.

A little more detail:

Real memory: 8GB
Ubuntu 10.04.2 LTS
Hardware RAID 10
Managing sites with Webmin version 1.550

Server is in a remote data center. Hands on-troubleshooting is difficult. We have attempted two Linux setups at this point. The first was on a hardware config identical to this one, but with no actual pieces of hardware reused. That attempt was using CentOS and we were attempting to set up CPanel. We scrapped that install because of this same problem (periodic crashing / hanging). The second attempt (this one) is showing the same behavior. The only thing I can really see in common are the hardware configuration (though CentOS & Ubuntu may have more in common than I think).

The box will run fine for hours, days, or even weeks, and then just stop responding entirely. I check all of the logs I know to check (primarily messages, syslog and kern.log) but I don't see anything that seems like an error to me. I do see lines that I don't understand that may or may not be problems, such as:

Code:

rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="814" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.

Most of our syslog entries seem to be logs of webmin related cron jobs running. My gut tells me that there is possibly some component in our configuration Linux does not like or needs a driver update (maybe the raid card for example), but I'm unsure of how to do more to track down or determine what that might be. Guess and check is expensive. Another thought I've had is that one or more of the cron jobs that are running are tripping something up, but it doesn't appear to be reproducible on demand and, again, I'm at a loss on how to test that theory any further. The same cron job does not appear to be running each time the server goes down. This is a portion the log just prior to our last hang:

Code:

Aug 8 11:00:01 linhost01 CRON[10771]: (www-data) CMD ([ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null)

[code].....

View 9 Replies


ADVERTISEMENT

General :: Xscreensaver Intermittently Works - Not Recording Anything In The Logs

Jan 31, 2010

I have xscreensaver installed and configured. I have it set to turn on after 5 minutes, cycle every 5 minutes. I have acpi setup to blank my monitor after 10 minutes and power off after 15 minutes. The problem is, sometimes it works, sometimes it doesn't. I haven't figured it out. The service from what I can tell only runs when the screen saver is active. So checking ps -e doesn't tell me much, and since there isn't a true problem it is not recording anything in the logs.

View 1 Replies View Related

Ubuntu Servers :: How IPAddress Can Hit Server Yet Not Appear In ANY Logs

Oct 31, 2010

Since Port 80 and 443 are the only ports I have open, how is it that an IPAddress can hit my server yet not appear in ANY logs ?

View 9 Replies View Related

Ubuntu Servers :: 10.04 Server (no GUI) Hangs On Boot

Apr 30, 2010

I just installed 10.04 i386 Server(release version)last night on an older IBM workstation (sorry, for the life of me can't remember model and I'm at work now); P4 2.4, 512Mb RAM, generic Intel graphics. This was a base install (aside from OpenSSH) with no window mgr. The HDD was wiped during the install and GRUB2 wrote to the MBR.

The install went smoothly, and on the soft reboot after the install I got a shell and was able to login, etc. and even SSH in.I unplugged the machine, moved it, booted, and got a cursor in the upper-left of the screen for about 3 seconds, and then the monitor would enter power save mode. (I tried 2 different models of monitor). While the cursor was on the screen the HDD access LED was blinking with activity, but that would stop right before the screen would enter standby. Tried a few reboots with the same result.

I'm thinking this is not a video driver issue (as similar threads have suggested),because the splash screen for the install disc renders properly and on the first successful boot the shell rendered appropriately at a high resolution.I can hold down shift to enter the GRUB2 menu, which also renders at a higher-than-text resolution and is defaulted / displays the correct options.

Most other threads with a similar yet non-video issue centered around GRUB2 issues with a dual-boot machine, which mine is not.I did go in via rescue mode (off the install CD -- the rescue option of the GRUB menu has the same result as a standard boot), and checked that my grub.cfg was correct, and I ran grub-install to no avail, and also ran grub-mkconfig on a subsequent boot to no avail, yet the grub.cfg generated appeared identical to the original generated during install.

The partition/file system is default layout.

20 Gb IDE (/dev/sda)
/dev/sda1 /boot ext2
/dev/sda2 Ext

[code]....

I'd be happy to give more info if someone has a troubleshooting direction in which to go.

View 1 Replies View Related

Ubuntu Servers :: Server Hangs On Boot

Jul 27, 2010

I'm trying to track down a problem with my server. Basically, I can get it to boot with a LiveCD and do rescue stuff with it - I just can no longer get it to boot. I've been slowly working my way through all of the error messages that come up during the boot process, and knocking them off one by one. Right now, they're fairly minor.

I'm trying to find out what the big issue is by looking at the logs. The last thing that it does is bring up apache2, says [OK] and then hangs. I've tried to do ls -lustR on /var/log to see what's the last log touched, and that's syslog or boot.log, but the last entry says something along the lines of Apache2 is up and running.

Where else should I look?

View 5 Replies View Related

Ubuntu Servers :: 10.04 Server Hangs When RAID5 Disk Is Removed

Jul 20, 2010

I've got a new Ubuntu 10.04 server install with a new 3 disk RAID 5. The boot disk is separate, not part of the RAID. I was trying to practice what I would do if a disk died to recover the RAID, so I unplugged one of the three disks. The machine now just hangs on startup. It shows fsck at the top of the screen but doesn't got anywhere from there. If you press a key it shows the Ubuntu splash screen. If I plug the disk back in, everything boots up normally. So, my question is, how do I get the machine to boot with one of the RAID members missing? I know I can recover it using the Live CD, but it would be nice to be able to get back into the machine without the CD.

View 9 Replies View Related

Ubuntu Servers :: Home Server 10.04 - Upgrade Hangs On Mysql / Resolve This?

Aug 11, 2010

Been trying to upgrade home server for several days and it keeps hanging on the mysql upgrade. Here's the what apt-get says code....

View 3 Replies View Related

Ubuntu Servers :: IOwait High, No Disk Writes, Server Hangs?

Jul 24, 2011

I run a website that a very steady flow of traffic and Im seeing recent issues that I just dont like. Server is 10.04.2 on a supermicro i7-950/6gb RAM with two 500gb Samsung F3 drives in a software RAID1 (1x5400, 1x7200) and for several weeks, its been running very well. Recently, Im seeing the server hang for 5-20 seconds. IOwait goes through the roof, nothing can write to the disk. Apache logs stop, redis fails to rebuild caches, mysql errors and then it continues and moves back to normal operation

/ is ext4, the kernel was 2.6.32-server-x64 but since updating to 2.6.38-server-x64, the issue has dropped from maybe once per 10 minutes to once per 15 minutes. 3 IOstat copy/pastes show this when it hangs.

Code:

Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND

[code]...

No smart errors or smart diags show any issues with any of the disks and kernel.log shows near nothing other than a process hang, 120 seconds about 5 days ago.

View 9 Replies View Related

Ubuntu Servers :: Cannot Setup LDAP Via Server Guide / Hangs When Issuing 'ldapmodify' Command

Oct 4, 2010

I have been trying to set up an LDAP server for a development environment as part of an internship for a week now, and I cannot get past this point. I have been following the 10.04 server guide to set up LDAP here: URL...Once I get to the following point in the guide, it just hangs:"As an example of modifying the cn=config tree, add another attribute to the index list using ldapmodify:"I've been working on this for a week and can't understand why this won't work. I am fairly certain that I've followed the guide to a 'T.'Any idea why am I receiving a permission denied error? Is this a permissions issue with one of the config files?

View 9 Replies View Related

Server :: DNS Server Not Reachable From Different Subnet Intermittently

Aug 27, 2010

We are having two DNS servers working as master and slave in our DMZ network subnet.DMZ network consist other servers also, but only the DNS servers intermittently becomes unreachable (no ping response) from different subnets whereas the internal communication (within subnet) happens at that time.From the DNS server we are unable to ping gateway ip also when the issue arises.We tried changing the port where DNS servers connected in DMZ switch and even reformatted the OS and reconfigured DNS but nothing seems to be working.We even tried changing the IP address of the server but after few days the New IP Address also gets affected

We google around a lot tying to fix the issue but no solution has yet come up.We are not even sure whether it is server issue or a network issue.

View 4 Replies View Related

Ubuntu Servers :: Run Scripts When Ssh User Logs In?

Nov 6, 2010

I'm a bit of a unix noobie trying to manage a small ubuntu server. I want to run a bash script automatically after an ssh user logs in. For example, after they log in and the default welcome message is displayed, I want to run a script that displays some server statistics since the last session. I made an alias to the script, and I could run it manually after I log in, but it's a bit of a hassle. Is there any way I could do this?

View 2 Replies View Related

Ubuntu Servers :: Remove Some Logs From Messages?

Jan 3, 2011

I have configured my Cisco ASa Firewall to send its logs to my ubuntu server in /var/log/cisco/ I see the logfiles populating in real time, but i can also see all the logs are also wtitten to /var/log/messages. How can i make sure i do not have a log redundancy? I dont want my firewall logs displayed in messages since there are now sent to /var/log/cisco.

View 1 Replies View Related

Ubuntu Servers :: Windows XP Logs On To Samba PDC Instead Of BDC

Feb 3, 2011

I'm running a set of virtual machines (most in ESXi, one in VirtualBox on my desktop) to try and replicate an existing physical network structure with a Samba domain operating across multiple subnets. The layout is:

(ESXi)
* Router - Ubuntu 8.04, running dnsmasq, bridging my 2 virtual subnets (10.10.4.1/24 & 10.10.5.1/24) and my physical network
* PDC - Ubuntu 8.04, configured as a Samba PDC with PAM configured to use LDAP, SMBLDAP etc. on 10.10.4.11
* LDAP - Ubuntu 8.04, running Zimbra 5 mail server, acting as the LDAP backend for Samba on 10.10.4.12
* BDC - Ubuntu 8.04, configured as a Samba BDC with PAM LDAP etc.
* Client1 - Windows XP, joined to domain on 10.10.5.100
(Virtualbox)
* Client2 - Windows XP, joined to domain on 10.10.5.99

Watching /var/log/daemon.log, /var/log/samba/*, smbstatus -bd0 shows that Client1 successfully logs on to the BDC (10.10.5.2) but Client2 logs on to the PDC (10.10.4.11) instead. Both clients have the same subnet, DNS, WINS settings etc. I've seen the issue happen in our physical setup too but very infrequently and usually when there's been a network interruption between the BDC(s) and the LDAP server.

View 1 Replies View Related

Ubuntu Servers :: Cron Is Filling Up Logs?

Sep 1, 2011

I am using my ubuntu server as my home router.Everything is working as expected with one exception.y DSL modem is a POS and every now and again it looses connection to the router. Sometimes it needs to be reset and sometimes it does not.Either way, when this happens my ubuntu server needs to reacquire an IP from my ISP. If it screws up when I'm at home it's no big deal, but if it happens when I'm not around my housemates have taken to hitting the reset switch on the server. I'm not a big fan of this so I wrote a script to ping my ISP's gateway. If it's unavailable it bounces the eth0 interface and tries to get an IP. I am running this script every couple of minutes in a cron job. Now I'm getting syslog entries like

Code:
Aug 9 20:31:01 portal CRON[9602]: (root) CMD (/opt/ChkAndFixNetwork.sh)
every few minutes. This is annoying and makes the logs useless for troubleshooting. I

[code]...

View 1 Replies View Related

Ubuntu Servers :: Not Able To Access Awstats Logs From Web

Sep 1, 2011

We had recently got some problem with our server(local server) and we recently upgraded from Ubuntu server 8.04 to 10.04 and we were not able to access awstats logs from web.So can any one say a method to get back the logs from the server?

View 1 Replies View Related

Ubuntu :: Using Disk To Install 11.04 Using Wubi No Indication Of Instllling?

Jul 12, 2011

Got the Ubuntu 11.04 disk.Installed it about an hour ago using wubi. There is no indication of anything installing anywhere. What gives? Keep in mind that I know next to nothing about the workings of a computer.

View 5 Replies View Related

Ubuntu Servers :: Redirect Logs From Device Out Of /var/log/messages

May 4, 2010

I have configured my Cisco firewall to redirect all its logs to my Ubuntu 9.1 server (no UI.)

Now, my /var/log/messages is getting all the firewall logs + all other logs.

I'm wondering if there is a way to redirect the logs from my Cisco Firewall (coming from UDP port 514) to another file.

View 2 Replies View Related

Ubuntu Servers :: Send System Logs To Another User?

Dec 3, 2010

We have a backup program that works with HP's ultrium tapes that whenever it's failing it's sending an error to the root's system logs. Now if I run mutt as root I can see the system logs and it's very easy to pinpoint any backup error messages.
Is there any way to copy all these system messages to another user as well so that someone with no root access could run mutt as well and check for these logs daily?

View 4 Replies View Related

Ubuntu :: No Progress Indication When System Checks Disk(s) On Startup

Jan 21, 2011

Ubuntu 10.10 does not appear to have an indication of progress when the system checks HDs on start up. In previous versions - at least back to 8 - I think there was either a
progress bar or % reading to give an indication of progress of the scan / check .Is it possible to switch this back on in 10.10?Also how do you control the frequency of disk checks on start up?

View 2 Replies View Related

General :: Shell Script Progress Indication

Sep 23, 2010

I can get some sort of indication to show a shell script is running? Even a simple rotating cursor will do, or an increasing row of dots.

Here's one of my scripts...

#!/bin/sh
echo "Main directories"
echo ""
cd /home

[Code]....

View 9 Replies View Related

Ubuntu Servers :: Cups Connection Refused In Samba Logs

Feb 4, 2010

I was just checking some of the generated logs from Samba.

Code:

Quote:

I've looked over my smb.conf and it doesn't look like I even have any printer sharing enabled.

Quote:

How PC1 was refused a connection when it looks like I don't have any printers being shared throught Samba?

This is just on a home LAN.

View 1 Replies View Related

Ubuntu Servers :: Rsyslog & Log All Iptable Logs To Mysql Instead Just A Logfile

Apr 5, 2011

I try to log all my iptable logs to mysql instead just a logfile. The setup is as followed:

[Code].....

[red]Problem[/red] rsyslog logs everything correct, except it does not log to db, it logs to /var/log/messages. As I am brand new to the whole Linux experience, I don't get it. My /etc/rsyslog.conf is setup with $ModLoad onmysql.

View 1 Replies View Related

Ubuntu Servers :: Logwatch Emails Not Sent If Named Logs Are Included?

Jun 15, 2011

I've suddenly stopped getting emails from logwatch which runs on an Ubuntu server daily using cron.After a good day or so of troubleshooting, I was able to establish that it was the 'Service = named' line in my logwatch.conf file, which was stopping the emails from coming through. If I commented out this line, the logwatch emails come through with no issues, uncomment, and I don't get an email. I don't get any error from logwatch itself when I run it, even with '--debug high', leading me to think that my email configuration is setup ok, at least. Furthermore, I tried running logwatch with '--output file --format html' and logwatch produces a valid html file.

I then thought: "Could I have a entry in my Bind/named log files which could be rejected by my ISP's smtp server?". So, (to the best of my knowledge) I cleared out the log files in /var/log that contained messages from named. I then ran logwatch (including the named service in my logwatch.conf file) and I got an email through, with a pretty much empty named section, which is exactly what I anticipated. Great! - it's fixed.

So, the cron.daily ran early this morning, but still no email in my inbox when I got up. I then tried to run 'logwatch --Range today' and lo and behold, I got a logwatch report email, which included a named section, with log entries in there. So it seems that something that's been logged by named overnight to my logfiles (i.e. '--Range yesterday') has caused issues again with logwatch's ability to send reports through my ISP's smtp servers.

View 1 Replies View Related

Ubuntu Servers :: HTTP Response Into Apache Access Logs

Jul 6, 2011

I am new to web server support. I have a request from my management to modify the logging slightly. Effectively I need to redirect a custom string from our http response into the apache access logs. When a user navigates to our site they receive a "dye" number that is associated with them. This number follows them to whatever cluster they are directed too. The string is formatted as such, com-company-dye: d0a2#6dfce. I need that that header dye to appear in the access logs so we can use that dye number as a key for troubleshooting issues though out our various monitoring systems.

View 3 Replies View Related

Ubuntu :: Programs Closing Suddenly Without Giving Indication / Issuing Error

Oct 17, 2010

I am having a weird problem here. The open programs are closing secretly without giving any indication or issuing error. For example I open couple terminal and some minutes later I look at my screen, boom they are not there anymore. This issue is not just limited to terminals, other gui apps suffer from the same thing. Does anyone know if any program or service would do such a thing?. I am scratching my head here to figure out why that is the case It just started happening today.

View 2 Replies View Related

Fedora Servers :: Syslog Listening On Port 514 For Both Firewall And IDS Logs?

Jan 17, 2010

Currently Im having a syslog server that consolidate firewall logs on port 514 udp. Im also having a IDS device that I wish to push its logs to this particular syslog server so that I can retrieve my IDS logs on this server as well.

Is it possible to do so?Having syslog listening on port 514 for both firewall and IDS logs? If it is possible will the logs be recorded in a single log file?Or will it be recorded in a separate log file ie. firewall.log, IDS.log etc?? I wish to have them in separate individual log files or else there will be hard time segregating the log entries in a single file. Can anyone advice on how to achieve this??

View 2 Replies View Related

Server :: Monitor Server Snmp Read From Logs Parsed Possible?

Jul 21, 2009

I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?

View 1 Replies View Related

General :: Grep String From Logs Of Last 1 Hour On Files Of 2 Different Servers+calculate Count?

Sep 3, 2010

I am trying to grep a particular string from the files of 2 different servers without copying and calculate the total count of its occurence on both files. File structure is same on both servers and for reference as follows:

Code:

27-Aug-2010 10:04:30,601|919122874903|phtunes_app|1282243292627|NotifySmsReception|DMGenerateLogInterceptor - ExternalTransactionID:SDP-DM-26713018, TransactionStatus:Requested
27-Aug-2010

[code]....

View 6 Replies View Related

Server :: How To Analysis IBM DSA Logs

Oct 24, 2010

I Have RHEL4 running on IBM X3550 server, we request IBM support regarding issues with this server, they will request for IBM DSA logs. The logs are quite extensive and cover almost all server config & can identify hardware issues with drivers...etc. I want to know if there is a way to analysis those logs offline without sending them to IBM support?

View 3 Replies View Related

General :: Q2 Patching Logs Of Particular Server ?

Jun 10, 2011

How to get the Q2 patching logs of particular server (Linux 2.6.9-100.EL)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved