Debian Configuration :: Apache2 Doesn't Start At Boot Time?
Dec 6, 2010
I 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
ADVERTISEMENT
May 1, 2010
I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.
View 9 Replies
View Related
Jan 5, 2010
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
View 2 Replies
View Related
Mar 3, 2010
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
View 3 Replies
View Related
Dec 12, 2010
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 Related
Jul 23, 2010
I'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 Related
Apr 19, 2011
want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replies
View Related
Dec 9, 2009
I 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
View 1 Replies
View Related
Feb 23, 2011
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left, I see the following error message:
"Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround.
View 9 Replies
View Related
May 14, 2010
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left I see the following error message: "Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround
View 4 Replies
View Related
Jun 18, 2015
Since upgrading from Wheezy to Jessie I have not been able to start the MySQL-server. When I do a "systemctl start mysql" I get the following answer on the console:
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
Entering 'systemctl status mysql.service' the answer is:
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Don 2015-06-18 18:35:41 CEST; 4min 1s ago
Process: 11272 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
syslog and hostname.err don't show any pertinent messages.
View 4 Replies
View Related
Feb 22, 2016
After the latest update of network-manager-gnome to version 1.1.90-3 , I see that I have to start the nm-applet in Testing from a terminal, otherwise I can't bring up my wired connection.
The usual nmcli networking on command is failing to connect, also restarting the network-manager.service with systemctl doesn't do anything, the only way to connect at this time is indeed to manually start the nm-applet from a terminal.
I've also spotted this message in the logs:
Code: Select alltraps: nm-applet[1105] general protection ip error:0 in libgobject-2.0.so.0.4600.2
Could it be something wrong with my configuration (although , it worked before this update) or is it some bug in network-manager-gnome 1.1.90 ?
View 4 Replies
View Related
Mar 10, 2010
I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5
View 6 Replies
View Related
Apr 18, 2010
I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?
View 5 Replies
View Related
Oct 13, 2010
A windows server named SRV is sharing folders for each users in /share/From a Debian computer on network logged with the user session "foo" I can mount the remote directory /share/foo with:smbmount //SRV/share/$LOGNAME /remote_directorythen the prompt ask me for password and when I have gave it the remote directory is mounted correctly.Now I would like to make this at boot time.If I put the same command in the .bashrc, when I boot, the remote directory is not mounted when the session is opened but then if I open a console, it ask me for password and the directory is mounted.This way is not convenient and it would be better if the directory is mounted when the user open his session and using the same password.The point is that every user should have a his own remote directory mounted when the session is opened.
View 2 Replies
View Related
Jun 1, 2011
On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.
With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?
View 3 Replies
View Related
Jul 17, 2011
I'm trying to stop all boot time messages from appearing -- basically I'd like to have a simple blank screen from grub to xdm.
I tried everything -- used the "quiet" option in grub's config, added dmesg -n 1 to rc.local, changed console=ttySx, set kernel.printk in sysctl.conf to 4 1 1 7, and even eradicated rsyslogd altogether... to no avail. I still see all sorts of messages on my screen.
View 1 Replies
View Related
Mar 25, 2010
Since recently statd at the boot time takes, more then 30s or even more.
It is laptop configuration, no NFS server(?) lenny with few installs from backports (open office and .30 kernel - for Intel 5300) vmwware (7), as well firestarter firewall
Can I disable it or change the boot order (via sysv-rc-conf ), so I can speed up my boot time?
View 2 Replies
View Related
Nov 20, 2010
Running Debian stable. I added the following command to rc.local and made it executable:mount -t cifs -o username=ted,password=computer,uid=mooreted,gid=users "//192.168.1.121/Storage Volume" /mnt/vortexAfter rebooting dmesg throws the following error:
[ 21.400697] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
[ 21.400708] CIFS VFS: cifs_mount failed w/return code = -101
However, if I run the command as root after the system boots it works fine.Been using this method on other distros for over a year. No idea what the problem is.
View 4 Replies
View Related
Mar 5, 2010
I use apache2 with virtual host and I 've a solution of Webftp who run on it. This solution send automatically email when a new client register himself. In the header of the mail I look this "Content-type: text/html". But when I look this mail with Outlook 2007 the accents are bad coding.It's a script who generate this Html content email.
View 1 Replies
View Related
May 4, 2011
I did a clean install of Ubuntu 11.04 64bit and the start up time is abnormally slow. If I start up the computer and don't press anything, the start up time is 30 minutes but it usually doesn't start up at all. It just boots into a purple screen, no splash, then it sits there and the computer doesn't have any loading lights flashing.
I had a similar problem with 10.10, but I assumed it would go away when I did a clean install of 11.04.
I can't get a read out of what's going wrong because when I press Esc it doesn't display anything, though weirdly it can sometimes get the start up process moving. I have also found that pressing enter really fast can sometimes help and something that seems completely oxymoronic, if I press the power button while it's starting up that can make it work, but nothing works every time.
View 8 Replies
View Related
Jul 18, 2015
I am struggling to find out how to start the connection to my VPN on boot?
View 1 Replies
View Related
Apr 29, 2010
I have a bash script that starts gammu, which I would like to start at bootup. But how do I accomplish this the best way ?
One way is to do it like this
Copy the file to /etc/init.d/
chmod +x the file
update-rc.d scriptfile start 20 2 3 4 5 . stop 20 0 1 6 .
But is there a better way ?
View 1 Replies
View Related
Aug 16, 2015
I'm using debian 8 on a notebook and since I tried to get the wifi working (another story...) I wanted to unload and load the alx driver module. So I used rmmod alx and when I tried to reload with modprobe, it didn't find the device (not the module). So I rebooted and now the notebook won't start. There's just the emrgency mode, so I log in as root and journalctl -xb gives me some erros:
Code: Select allsystemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Failed to start Load Kernel Modules.Unit systemd-mdoules-load.service entered failed state.Then it fails to start the modules ip, ppdev, parport_pc and fuse.Next error is
Code: Select allboot-efi.mount mount process exited, code=exited, status=32
Failed to mount /boot/efi.Followed by
Code: Select allDependency failed for Local File System.
And last but not least
Code: Select allFailed at step EXEC spawning /bin/plymouth: No such file or directory.
There was also an error at the first time "Failed to load autofs4", so loaded it manually with modprobe. As this worked, I opened the /etc/modules - which was empty, don't know whethere it was also empty before or not - and wrote autofs4 in the file. autofs4 seems to load succesfully, so I tried writing also ip, ppdev, parport_pc and fuse, but I just get the error for these last four twice... But lsmod shows some loaded modules (autofs4, ext4, crc16, mbcache, also alx and say 15 more).You should also know that I use an extra boot partition and use EFI.
View 8 Replies
View Related
Aug 27, 2010
How can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686
View 2 Replies
View Related
Aug 13, 2015
I have a debian 8.1.1 server running owncloud and a proxy server at home. I have everything working fine, with one exception. The proxy server won't start on boot. If I ssh into the server, then run "sockd -D" as root, it starts up and runs just fine. Any guides I find refer to the init.d script method that worked in Wheezy, but that isn't working. I think it has to do with Jessie switching to systemd? I had used someone elses script in init.d, and ran update-rc.d, but it still doesn't start.
With Jessie, how can I make "sockd -D" execute on system startup?
View 0 Replies
View Related
Mar 15, 2011
I am very pleased with a new Squeeze desktop that I built. I am use to using BSD style init scripts (Slackware, OpenBSD, Arch) and am trying to tweak my system not to start vsftpd at boot. I use vsftpd occasionally to move large files between computers on my LAN. My inittab shows run level 2 as default.
View 3 Replies
View Related
Jul 11, 2011
I have just recently installed firestarter to get an idea of iptables editing with a GUI. Firestarter works great and I love it, however when I turn my system on, and my system is booting up the terminal displays a "Failed" message when attempting to start up firestarter. Now I have been doing my homework (reserch) and have read that a user will get this error because firestarter trys to load prior to the network manager starting up. I have also read some other variables that can cause this is if you use network manager and have a password on your user account (which I do have) can cause this issue.
However in most cases from what I have read is even though it gives the user a "Failed" startup message, once the user logs in, and is connected to the internet firestarter will actually load the iptables. I did some tests and from what I understand I can see that this is true because I have allowed access to certain torrent trackers, and denied access to others, and I can see some come online. Does firestarter load iptables once the user logs in? Or once it fails to load, does it not load at all unless you manually open/load the application. If firestarter just modifies iptables, then once I save my listings in firestarter then I really don't need it to start up correct?
View 1 Replies
View Related
Jan 29, 2011
Kernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20
Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely.I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally
View 5 Replies
View Related
Aug 16, 2010
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].....
View 1 Replies
View Related