Re: problem in making applications accessible after a shutdown of server for 2 months
On Wed, Mar 30, 2011 at 5:14 PM, Carsten Aulbert wrote: > Hi > > not /var/log/apt, but /var/log/apache2 (!) > > carsten > Hmm since apache was not able to start as daemon so the requests never reached my web server. Which I had verified in Apache log as I checked openitup.in I did not saw any request being logged in /var/log/apache2 access.log or error.log hence I had pasted the /var/log/apt/* how ever there are 3-4 lines on this server in question which were repetition of following PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pdo_mysql.so' - /usr/lib/php5/20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 I am not using any mysql on this machine so this line should not be present or be a reason for the problem (correct me if I am wrong) I also checked the daemon.log http://pastebin.com/c64Vhk4u could not find any thing suspicious for creation of a different version of /etc/init.d/apache to /etc/init.d/apache2.2 So I had pasted the apt logs. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: problem in making applications accessible after a shutdown of server for 2 months
Hi not /var/log/apt, but /var/log/apache2 (!) carsten -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: problem in making applications accessible after a shutdown of server for 2 months
On Wed, Mar 30, 2011 at 3:49 PM, Carsten Aulbert wrote: > Hi > > On Wednesday 30 March 2011 12:16:06 Tapas Mishra wrote: >> Ok after further digging this problem I see apache is not able to >> start on the machine in question for some unknown reason I do not see >> apache pid in ps out put so now what can be done for this? > > As always, look into the log files or start the daemon in stand-alone mode, > i.e. not forking and with a lot of debugging output. > > Logfiles: /var/log/apache/* /var/log/daemon.log /var/log/syslog ... > daemon.log http://pastebin.com/w1XMhNHL syslog http://pastebin.com/RdN6bjUm /var/log/apt/term.log.1.gz http://pastebin.com/cGi1a3BM /var/log/apt/term.log.2.gz http://pastebin.com/riYcXDFY /var/log/apt/term.log http://pastebin.com/1YicC1Cv /var/log/apt/history.log.2.gz http://pastebin.com/hZFib5Xh /var/log/apt/history.log.1.gz http://pastebin.com/yE3XK222 /var/log/apt/history.log http://pastebin.com/XgKekqsg the entries from 30th march on both the links are the ones which some one might be willing to look. My problem is solved as I mentioned in my previous message that there were 2 extra files with name apache present in /etc/init.d directory and using one of them was what had worked,but I want to investigate this issue further as why did I needed to do this ? What was the reason that another file apache2.2. was present in /etc/init.d and using that had worked and not /etc/init.d/apache2 . My guess is some update might have over written (but I am not having any facts to support my argument) let me know what do I investigate ?Or some one can point to some thing by looking at any other log even I will post. Because this over writing or creation of files did not happened in the virtual machines which were also lucid servers on this machine where I reported this problem. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: problem in making applications accessible after a shutdown of server for 2 months
Hi On Wednesday 30 March 2011 12:16:06 Tapas Mishra wrote: > Ok after further digging this problem I see apache is not able to > start on the machine in question for some unknown reason I do not see > apache pid in ps out put so now what can be done for this? As always, look into the log files or start the daemon in stand-alone mode, i.e. not forking and with a lot of debugging output. Logfiles: /var/log/apache/* /var/log/daemon.log /var/log/syslog ... Carsten -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: problem in making applications accessible after a shutdown of server for 2 months
On Wed, Mar 30, 2011 at 2:49 PM, Tapas Mishra wrote: > Hi all, > one of my server was shutdown for 2 months and today only it has been > switched on. > Here are the links > http://openitup.in > http://software.openitup.in > http://social.openitup.in > http://research.openitup.in > > When we powered on the machine the virtual machines on top of it are > running but they are not accessible from internet. > Every thing 2 months back before shutting down was running.This is a > reverse proxy setup and I do not see the requests reaching > the Dom0 itself in Apache log. > What can be primary reason for this and what should I follow to trace it? Ok after further digging this problem I see apache is not able to start on the machine in question for some unknown reason I do not see apache pid in ps out put so now what can be done for this? -- -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
problem in making applications accessible after a shutdown of server for 2 months
Hi all, one of my server was shutdown for 2 months and today only it has been switched on. Here are the links http://openitup.in http://software.openitup.in http://social.openitup.in http://research.openitup.in When we powered on the machine the virtual machines on top of it are running but they are not accessible from internet. Every thing 2 months back before shutting down was running.This is a reverse proxy setup and I do not see the requests reaching the Dom0 itself in Apache log. What can be primary reason for this and what should I follow to trace it? -- Tapas http://mightydreams.blogspot.com -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam