Software :: How To Get Apache2 To Start Automatically On Ubuntu 10.04?
Jul 28, 2010It starts fine with the /etc/init.d/apache2 start command, but I would like it to start automatically when I boot my system.
View 2 RepliesIt starts fine with the /etc/init.d/apache2 start command, but I would like it to start automatically when I boot my system.
View 2 RepliesI am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them.Is there some way to make Apache2 delete them after 5 minutes or so?
View 3 Replies View RelatedI have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them. Is there some way to make Apache2 delete them after 5 minutes or so?
View 1 Replies View Relatedwhat to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
View 2 Replies View RelatedIm trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:
[code]...
but still no dice.
How to resolve this apache2 problem I keep getting, I have installed a debian LAMP server with ispconfig3 and everytime I reboot apache fails to start, I don't know and I have done some research but nothing seems to work, which leads me to reinstall everything from scratch again, I think I have reinstalled at least 10x or more.
When ever I reboot I get the following error
Code:
I use Opensuse 11 with fvwm. How can I get conky start automatically when I start fvwm?
I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts.
Having issues starting my apache up again, This is what i get
Code: Starting web server: apache2[Sun Aug 15 19:19:01 2010] [warn] module auth_basic_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module authn_file_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module php5_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module alias_module is already loaded, skipping
[Sun Aug 15 19:19:01 2010] [warn] module authz_groupfile_module is already loaded, skipping
[Code].....
I have apache2 running under debian squeeze on a Seagate DockStar of a USB flash drive. To reduce the wear on the USB stick, I want to move all log files to RAM. What I did was to update create an entry in /etc/fstab to mount /var/log to tmpfs.Things seems to work except apache2. y start apache2, it complains aboutStarting web server:apache2(2)No such file or directory: apache2: could not open error log file /var/log/apache2/error.log.If I create the file, apache2 starts fine. Is there a step or two I am missing so I don't need to do this every time I reboot
View 1 Replies View RelatedI am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?
View 1 Replies View RelatedI'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
View 9 Replies View RelatedI have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies View RelatedI upgraded to 10.04 and my AWN dock won't automatically start even though the 'box' is tic'd and it's showing in the Startup Applications. I did lose all of my configurations as well after upgrading and had to reinstall everything on the dock.
Also, there are little numbers on the launchers like for Trash and Email that tell me how many items are in there. The Trash was easy to remove the numbers by right clicking and choosing the Preferences option. There was a place to disable that but there isn't one for the Email and those little numbers look well.
After restart or suspend/resume the Wifi won't start until I click on my home network from the menu. It used to start without me doing anything (once I setup the wireless).
View 1 Replies View RelatedAfter installing some updates recently, 10.10 boots into a command line. I have to type sudo gdm to get into Gnome, at which point it works fine. How can I make it start Gnome automatically again?
View 2 Replies View RelatedI'm using vnc to connect to my ubuntu box from my windows box however I don't like the way it works.1) It doesn't start automatically. I have to be logged into my username before I can connect to my box.2) It takes control of the screen on my ubuntu box which isn't what I really want to happen. I'm used to connecting via rdp in windows where I connect to the other computer and if you looked at the other screen you wouldn't even know I am logged on.This is handy if someone else is using the pc plus I just don't like everything that I am doing to appear on a computer screen that I can't see. I find it kind of freaky.
View 5 Replies View RelatedWhen I go to 'Places' on my panel, my windows drives are listed. I can click on one, it then asks me for password, then it puts a hard drive icon on my desktop. This is excellent.They are listed as '200 GB Filesystem' etc.My only problem, is how to make these icons stay after I shut down. I don't want to do this every time I boot up.
View 4 Replies View Relatedrecently i was trying to mount my partition automatically at start up ...so i gone through some tutorials on the net nd made some changes in /etc/fstab file (i made a back up before making any changes). when i was changing permissions of folder in which i tried to mount my all partitions i got my system screwed up.then it was showing following error at start up and GUI was not turning up. "could not update ICEauthority file " also my sudo was not working so first i restored original fstab file through recovery console then i googled out about above errors. I found some solution now my system is working but showing strange behaviour like:
> ubuntu is not detecting any of my hdd partition
> disk utility is not working (showing no error)
>fdisk -l shows nothing
> no new software is getting installed via ubuntu software center (shows no error when clicking on install but nothing turns up)
>i cannot restart or shutdown my system from GNOME it only logs off my session (although through terminal its working)
>no media player showing sound controls enabled
>gnome not showing ethernet or sound volume icon in upper panel (although net is working)
>users and groups from system->administration menu is not working (error:cannot load configuration)
i think most of the administrative tasks are not working.........i googled out but found nothing satisfactory..i dont want to reinstall it, coz i m not very experienced with linux n it took about a whole month to customize my ubuntu 9.10 on my college internet...
I am trying to use wireshark on my ubuntu 10.10 laptop. However I have found out that wireshark will only detect my network cards when it is started with root permissions. How would I make it automatically start with root permissions?
View 2 Replies View RelatedI have static eth1 defined. When I boot or restart, the networking will not start automatically - i must do it from terminal by ifup eth1.
Where can I put this command to have it autostart?
I have a lenovo thinkpad laptop, and it has both touch-pad (standard build in laptop mouse) and touch-point (in the middle of the keyboard) mouse options.
I almost invariably use the touch-point and the accompanied scroller and key-buttons.
HOWEVER, for the scroller to be recognized by ubuntu you must run two scripts as follows:
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
Restarting the computer resets these settings, and you must re-run them each time you start up ubuntu.
I am looking to write a script that will automatically run itself (which will execute the above commands), or to permanently change these settings so that it will not be necessary to run them at each start-up.
Thanks in advance, and if there is another thread on these forums that I should move to (or even just another thread that would be a more likely place to get a response). This seemed like the best forum (one which can certainly hold this post without violating any rules), but I may have missed something.
After upgrading my husband's laptop to 11.04, KDE does not start automatically anymore. kdm (the log-in screen) appears. I select "KDE Plasma Desktop". But instead a kind of terminal appears in the top left corner. This console does not have window decoration. When I type startkde into it, KDE starts completely normally.
The same happens with a newly created user, so a misconfiguration in .kde cannot be the cause.
/usr/share/xsessions/kde-plasma.desktop is correct:
Code:
The metapackage kubuntu-desktop is installed.
I have tried reconfiguring and reinstalling various packages that I or others thought might be responsible:
Code:
GNOME was installed on the same computer, too, and caused some problems after the upgrade (instead of KDE being the default session, it was Unity, but no menus or control bars loaded). After trying all the things mentioned above, I uninstalled all GNOME/Unity-related packages to rule out they were causing the problem (according to that list: [url]). It did not help, even though for two packages messages appeared that sounded like they might make a difference:
Code:
I compared with
Code:
With my other two computers that work fine after the upgrade to 11.04, they also use startkde and kwin.
My son dropped my laptop and broke the screen so I decided to use it as a project.
1 I managed to install kubuntu on it unfortunately it was the 64bit version not the 34bit one. The problem I'm having is that the external monitor only works after kubuntu boots up so I can not view the set-up boot options. What I want to do is put win 7 on it as I have a mate that needs a computer and he is pretty computer illiterate.
2:It will boot into G-parted and I have made a ntfs partition for the win 7 OS to go into. I have another duel boot desktop so followed what I did with that.The problem is that as I cannot see the initial start up screen and can get it to boot from the win7 boot disc that I have(this is a working cd I have used before) Is there a way I can get Kubuntu to automatically go into boot from cd on start up etc?
Can you guys help me diagnose what the problem is? SSH doesnt' start automatically.
View 1 Replies View RelatedI have it configured in the application settings to do that, and I've checked the Startup Applications and indeed it is listed there.However when I start up the icon doesn't appear in the tray and my wallpaper won't change every 10 minutes like it's supposed to until I actually go to System > Preferences and run Desktop Drapes manually.
View 2 Replies View RelatedAfter my update to 9.10 I had not notice that CUPS, Samba, lighttpd (and maybe other serives that I've not missed until now) don't start up during system start no longer. After all, things look quite normal in the directory /etc/rc3.d, which has the appropriate links S20samba, S20lighttpd and S50cups, all of them working when I use them directly. But wait! Ubuntu uses updstart now, does it? I have yet to understand what that means to the classic startup scripts in /etc/init.d.
View 9 Replies View RelatedSince I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?
View 1 Replies View RelatedThe hd starts running on it's own and I check the log files and find this:
Code:
Mar 16 21:28:47 ubuntu kernel: [16953.273544] VFS: busy inodes on changed media or resized disk sr1
Mar 16 21:28:47 ubuntu kernel: [16953.293541] Buffer I/O error on device sr1, logical block 26827
Mar 16 21:28:47 ubuntu kernel: [16953.293550] Buffer I/O error on device sr1, logical block 26828
Mar 16 21:28:47 ubuntu kernel: [16953.293619] Buffer I/O error on device sr1, logical block 26827
Mar 16 21:28:47 ubuntu kernel: [16953.293623] Buffer I/O error on device sr1, logical block 26828
Mar 16 21:28:47 ubuntu kernel: [16953.293645] SQUASHFS error: sb_bread failed reading block 0xcb75
Mar 16 21:28:47 ubuntu kernel: [16953.293649] SQUASHFS error: Unable to read fragment cache block [32d1bc4] .....
Mar 16 21:30:47 ubuntu kernel: [17073.066145] Core dump to |/usr/share/apport/apport pipe failed
I followed the directions in the MacBook7-1 setup thread for lucid to install pommed: [URL]... This works well, I can control brightness, volume and keyboard backlights using the function keys.
However, pommed doesn't start automatically on login. I have to maually start the service. Is their a way to have this service start automatically on login?