Ubuntu Servers :: System Won't Shutdown + Apache Not Auto Starting / Fix It?

Nov 12, 2010

First post here so I'll do my best to provide the information needed.

System:

Dell Poweredge R310
Xeon 3460 2.8Ghz
4x2GB ram
4x 160GB Sata 7.2k (RAID 10)
Ubuntu Server 64bit

If I type as root, "reboot" or "shutdown -r now", nothing happenings - except the apache2 process stops + the usual "System is going down for reboot now". If I type "shutdown -h now" the system goes down.

Upon booting the server back up, MySQL starts correctly, but Apache2 does not - I have to run "service apache2 start", and it starts up fine.

I feel the 2 issues are related. I've reinstalled apache2 completely (configs and all) and this didn't help - I used yum to install/reinstall it.

View 8 Replies


ADVERTISEMENT

Ubuntu Servers :: Starting Apache / Getting Error Invalid Command?

Oct 20, 2010

I am trying to install Zend Server, and that went well. Apache and all the other items were installed.

But when I go to start Apache, I get this error:

Quote:

root@laptop:~# /etc/init.d/apache2 restart
* Restarting web server apache2 Syntax error on line 6 of /etc/apache2/sites-enabled/zendserver_gui.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
[fail]
And on line 6: php_admin_flag tidy.clean_output off
The rest of the file is below:

Quote:

# Warning: Modifying this file will break the Zend Server Administration Interface
Listen 127.0.0.1:10083
NameVirtualHost 127.0.0.1:10083
# do not allow override of this value for the UI's Vhost as it should always be off when generating non-html content such as dynamic images
code....

View 1 Replies View Related

Ubuntu Servers :: Apache No Longer Starting Unattended After Reboot?

Nov 18, 2010

I have an Ubuntu 10.04.1 AMD64 server running Apache with SSL. In the past, even though I have a passphrase on my key file, I have only needed it if I manually restarted Apache2, never after reboot.

I recently switched from a self-signed cert to one from a CA. I'm not sure if this is what caused it, I also installed a few packages (AWStats, PHPSysInfo and Munin) that all interact with the webserver.

Anyway, I just noticed that now after a reboot Apache starts but doesn't work. I need to kill that process and start a new one with the passphrase (maybe on the console it is prompting me, I mainly use SSH access since the server is headless).

Why did Ubuntu used to 'remember' the passphrase on the self-signed cert but now I need to provide it?

My sever auto-updates so it would be annoying to have this thing go down regularly after a patch that requires a reboot.

View 8 Replies View Related

Software :: Mythwelcome - Auto Shutdown And System Clock Not Working Properly

Mar 29, 2010

I installed Mythbuntu 9.04 about 9 months to a year ago and (for the most part) I haven't had any problems with mythwelcome, automatic shutdown or the system clock. The "for the most part" relates to the fact that the clock on mythbuntu has always been 4 minutes fast. Then, just last week, the system started acting up - for some reason the system clock changed to 8-10 minutes fast (6 minutes faster than it was previously). To fix this problem, I have tried manually setting the "time and date" setting, and I have also tried setting the "time and date" setting to sync with an internet server. Lastly, I tried changing the system time through the motherboard bios. In each situation, mythwelcome would initially start up with the correct time. Then, several seconds later, the time shown in mythwelcome would change to being 4 minutes fast (as I described above). The time would also be 4 minutes fast when I enter the frontend.

I was willing to live with this, but the weird part is that when I start the system now (assuming I don't have any programs scheduled to record), mythwelcome boots up fine and I see the indication that "MythTV is idel and will shutdown in XXX seconds". Then, it flashes to "MythTV is idle" - like it used to; except now, it doesn't flash back to the countdown for shutting down mythtv. One time when I started the system when I was adjusting the time as mentioned above, I noticed that mythwelcome went to the "MythTV is idle" around the same time it changed the clock to 4 minutes fast - I think there is definitely a correlation here.

I checked out all the settings and nothing else has been changed that would otherwise affect MythTV from shutting itself down. The other interesting part is that I can get the shutdown countdown back if I go to "Utilities / Setup", "Setup", and "Mythbuntu". In the popup screen I choose "MythTV Configuration" and select "Launch MythTV Setup". I get a popup box that says that the mythbackend must be closed (as expected). Then I immediately exit mythtv-setup and the system runs "mythfilldatabase". I exit the Mythbuntu Control Centre and exit the frontend. When I get back to mythwelcome, the shutdown countdown comes back.

View 1 Replies View Related

Ubuntu Servers :: Starting Ruby App When System Boots Up?

Feb 12, 2010

how do I start a ruby on rails application when my Ubuntu server starts up/is rebooted? I start the application by cd-ing into the ruby application's root directory(the application I'm using is Bibapp) and execute the command;

Code:

sudo rake bibapp:start

View 1 Replies View Related

Ubuntu Servers :: Schedule Complete System Shutdown/startup?

Feb 10, 2010

Just curious if it is possible to schedule a complete system shutdown and start up?

My box with ubuntu server on it is only used as an ssh/proxy server, so I would like save on energy costs and add a layer of security by completely shutting it down during the hours I do not use it.

View 5 Replies View Related

Ubuntu Servers :: Auto Run Tasks On System Start With Rc.local Not Working / Fix It?

Mar 30, 2011

I am currently running a VPS with Ubuntu Server 10.10. I have been trying for a few days now to get some programs to run when the system starts, but with no luck. I am trying to use rc.local to do this, there is an:
/etc/init.d/rc.local - http://paste.monsterprojects.org/mpbjhwhbjzhbjrr (Was already on the system, I have not edited this)
and:
/etc/rc.local - http://paste.monsterprojects.org/mpbjhwhbkkkhwez

If i run the /etc/rc.local script manually all the programs start fine, and if i run /etc/init.d/rc.local start, all the programs start fine. But for some reason they just don't seem to be starting when the system boots.

View 3 Replies View Related

Ubuntu Servers :: Change Web Addresses Of Apache For Backup System?

Dec 12, 2010

I have tried several places for help but I am getting no where...Here is my background.I have spent all weekend to replicate my development server back at home. I have an Apache remote server with 3 IP based virtual hosts pointing to

[URL]

Now I have been able to set up a VM on my desktop, installed the OS, the applications, the db server, apache etc. Everything is looking good so far. So right now I have,

[URL]

So when I go to 192.168.0.111, I go to [URL] so I guess apache is working aswell.What I want to do is, instead of going to [URL] I want to change it to another address such as a.me.add1How can I do this? I am looking through the virtual hosts section, I have changed server name entry etc but its not working.Can you tell me in big picture what I would need to do to set that up? My current set up doesnt really help me much once the site get the www address.tell me if Document Root of IP address 192.168.0.111 points to [URL] will it always resolve into that webaddress. That is if I enter 192.168.0.111 the browser will redirect it to [URL].

View 3 Replies View Related

Ubuntu :: Auto-run Script When Starting ?

Jul 30, 2010

I need ubuntu to automatically run a script in the Terminal when started.

View 3 Replies View Related

Ubuntu :: How To Schedule Auto Shutdown

Feb 4, 2010

How to Schedule auto shutdown in Ubuntu? I am a newbie. Last night I have some downloads in progress while at the same time I really wanted to go asleep. So I wondered if there's a way to schedule auto shutdown the system after a set period of time. I heared its possible using command line but dont know the usage.

View 9 Replies View Related

Ubuntu Security :: Starting Up With Auto Password?

Jan 30, 2010

I decided to stop using my password to enter Ubuntu (recently installed) and switch to automatic start up. Hit the relevant key, then restart. Received three notices, closed two, entered pass to get encryption code at third, then nothing but a blank, Ubuntu-colour screen. Unable to open Ubuntu. How the heck to I get myself out of this trap?

View 1 Replies View Related

Ubuntu :: Bluetooth-applet Not Auto-starting?

May 6, 2010

bluetooth-applet is not auto-starting on one of the 2 users of a system. In the user's environment where auto-start does not work it can be started from a shell without any error and bluetooth otherwise works fine. There is an entry in the start up applications preferences for both users. We are running 9.10.

View 1 Replies View Related

Ubuntu :: Auto-shutdown After A Process Stops?

Jan 12, 2010

in windows I have this little program called "poweroff". I use it to shut down my pc after vlc stops playing a movie. I set vlc to shut itself down after playing, and then the program starts a countdown to shutdown the pc. is there a similar program for ubuntu? could this be achieved through the command line? I'd like it to give me little warning period though, where I still have the option to cancel.

View 2 Replies View Related

Ubuntu :: (auto) Saving Files Before Shutdown?

Jan 15, 2011

I am wondering if there is already a feature, and if not, then a way to save any open files before a shutdown occurs?

I use xfce4 battery plugin and there is the option to invoke a shutdown whn the batt. hits critical percentage, but I would like to be able to run something at the low percentage stage to save any open files in case the critical stage is reached. I have had no luck googling any solutions or potential solutions.

View 3 Replies View Related

Ubuntu :: Application For Auto Power On & Shutdown?

May 10, 2011

I found an application AUTO POWER ON & SHUTDOWN in windows which is really very useful to those who have night unlimited broadband connection. I searched for similar application in UBUNTU as I am slowly shifting to UBUNTU from 10.04 (maveric) version. Whenever I search for application or for other options, so many have written failed attempts only.

View 5 Replies View Related

Fedora :: Nautilus Is Not Auto-starting

May 7, 2010

Rebooting after an update I can't see any icon on the desktop (FC12, gnome).If I manually start nautilus they appear, but I obviously would like that to happen automatically. What could be the problem and how to solve it?

View 2 Replies View Related

Ubuntu :: Disable Auto Eject When Live CD Shutdown

Aug 27, 2010

Is there some file I can alter on the Live CD image that will make Ubuntu not automatically eject the drive tray when I shut down from a live CD session?

[URL]

/etc/rc0.d/S89casper is a link though, so I just edited the file it points to (/etc/init.d/casper) -- seems to be working. I merge a modified "casper" at every boot, next time I build a Remastersys, I'll try to make it permanent.

View 9 Replies View Related

Debian Multimedia :: Compiz Is Not Auto-starting

May 16, 2011

compiz is running just fine with compiz --replace, but it still not starting automatically with gnome.

View 4 Replies View Related

CentOS 5 :: How To Stop Xsession From Auto Starting

Jun 18, 2011

my mouse is not being seen so I need to log in without the xsession autostarting to get a cmd line login.

my account will not let me login with my passd so the console is my only access with root but i cannot do anything withourt a mouse.

1. How can i get logged in?

2. How can I stop xsession from autostarting on a reboot once i get loged in i can try to remove that setting and boot the box.

3. secure session lets me in but the xterm is not active so I cannot type any commands.

View 5 Replies View Related

Ubuntu Installation :: Stop Mysql From Auto Starting When Start Machine

Mar 1, 2010

i have installed mysql and its running fine. how i can stop mysql from auto starting when i start my machine

View 2 Replies View Related

Fedora :: Raid Not Auto-starting After Kernel Update

Jan 25, 2010

I updated my fc12 x86_64 server today, and one of the updated included kernel 2.6.31.12-174.2.3.fc12.x86_64 from the previous one of kernel-2.6.31.9-174.fc12.x86_64.When I boot with that kernel, it stops when my logical volumes that are built on a raid 5 array (linux software raid built using mdadm) are not there.I can start them afterward with mdadm --auto-detect which seemingly loads the appropriate modules and starts the array, but I have never had to do this before.

Reading the mdadm man page, it mentions that this is generally done by the initrd. So, I am guessing the initrd that came with the new kernel is missing something.

View 1 Replies View Related

Debian Hardware :: Laptop Auto Shutdown Just After 5 Minutes?

Jun 22, 2011

Laptop : Dell Latitude D620 - Intel Core2Duo T5500 1.66GHz - Intel 945GM graphic - 2GB DDR2 667 RAM - Samsung 400GB SATA 5400rpm Harddisk. OS : Debian Squeeze amd64 - Gnome. I browse the web with this laptop,with ethernet connection,with Icewesel running 2 tab,just after 5 minutes,it auto turn off itself. Never happen before,I don't know what happen. This laptop only support 2D,there's no 3D graphic driver,so no visual effect apply. I start the laptop after 10 minutes,type sensors and get this output :

acpitz-virtual-0
Adapter: Virtual device
temp1: +46.5C (crit = +126.0C)

* Before it auto shutdown,I place my laptop on desk with a simple rack to lift the rear from desk about 5cm,without cooling pad,and no direct wind flow from my desk fan as I always did.

View 1 Replies View Related

General :: Cannot Run Auto Shutdown Script For Oracle Database

Mar 18, 2010

in order to do full backup system, i have to shutdown the oracle database. My backup software can stop the services by running the shutdown script. But in order to shutdown the oracle database, the script must be run under oracle privilege. The conflict is our backup system which is reside under root privilege cannot run the oracle shutdown script which is needed to triggered by oracle privilege.

View 1 Replies View Related

General :: Starting Gnmone Terminal - Auto Connect To Machines?

May 27, 2011

I'm running Linux Red Hat 5.5 and Gnome. I am trying to use the Terminal almost like Windows Putty but with tabs. Is there any way that, when starting the terminal, I can have it connect to multiple machines in different tab?

View 1 Replies View Related

OpenSUSE :: How To Configure For Computer Auto Shutdown After A Period Of Time

May 2, 2011

I install Opensuse 11.4 on KDE environment then I changed to XFCE. I don't know how to configure for computer auto shutdown after a period of time don't use it.

View 6 Replies View Related

OpenSUSE Install :: 11.2 / Gnome Flakey Auto Bootup & Shutdown

Mar 29, 2010

I didn't notice any relevant complaints regarding 11.2 in the archives. The bootup & shutdow may be different problems. Randomly my recent install boots up fine or hangs with a blank black screen. A Ctl Alt F2 gets me to a prompt. Startx returns a lockfile comment that X is already running.

From here I can shut 11.2 down and restart it OK. There must be a bootlog kept in /var somewhere. I haven't tried the non-automatic bootup. The shutdown randomly drops back to the logout screen. Usually a shutdown command from there will shut it down. Sometimes shutdown doesn't work, but restart will finish the shutdown.

View 9 Replies View Related

Red Hat / Fedora :: Error - Starting Apache

Aug 10, 2010

Two days back I installed had setup subversion for my laptop from the following link HOWTO: Setting Up Your Own SVN Server (Using Apache and mod_dav_svn) - Mark S. Kolich

I don't know where I messed up the apache server. Now I am unable to start the apache server. I get the following error message:

View 3 Replies View Related

CentOS 5 :: Apache Not Starting When Booting?

Feb 3, 2011

I installed Apache, and it works fine. However, when I rebooted my CentOS, httpd did not start automatically. What do I need to do to ensure it starts when the system boots?

View 2 Replies View Related

OpenSUSE Network :: Apache Not Starting On Runlevel?

Jan 5, 2011

Apache is set to start on runlevel 2, 3 and 5, just like MySQL. For some obscure reason this always fails. I tried resetting the runlevels, but this did not help and I always have to start apache manually after reboot.

How can I analyze this problem? In the Apache logs I don't find the cause. Is there an other log I can check?

View 9 Replies View Related

Software :: Apache Is Not Starting - The Page Cannot Be Displayed

Jan 7, 2010

When I try to start Apache2 (apachectl start) the command prompt returns right away. But when I check the processes (ps ax) I can't find httpd. And when I try to hit the server from a browser I get "the page cannot be displayed" error.

View 11 Replies View Related







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