Debian Configuration :: Disable Apache2 Does Not Restart On Boot?
Apr 19, 2011want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replieswant to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 RepliesI'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 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 running debian unstable and since there was the switch to dependency based boot I can no longer control my boot services.I used to suppress the services that I use rarely during boot with: sudo update-rc.d -f myservice remove This arranged the links in /etc/rc?.d and everything worked.
Now this command only says: update-rc.d: using dependency based boot sequencing.This seems to work until I upgrade the service to a new version and it is enabled again.Do you have any idea of how to disable boot services permanently with the new system?
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 RelatedI 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 RelatedI have scoured the internet in search of a way to implement this 301 redirect on Apache2 to no avail. My distro is Debian 5.0 Lenny. I want all request to sepserver.net to be 301 redirected to [URL]. Does anyone know how to do this? I have never done this before so I could really use a detailed explanation of how to implement this type of 301 that will work.
View 2 Replies View RelatedHaving tried different approaches to install (and run!) a webserver certificate from StartSSL on an Apache2 webserver, I had no success at all since three days. There are many web pages out there in the internet, each is naming it other ways, i.e. one speaks from server./etc/ssl/certs/server.pem, another name it /etc/ssl/private/server.key etc. etc.
Is there a common-sense description how to name a private key, how to name the public key, and just important again, where to place them and what what rights they must have to protect them? And, still important, which config file to adopt (default-ssl, or default-ssl.conf).
By the way, I implemented already the certificates in an other environments, and they are all working (tested with the ssl checker [URL] .....).
How to find a common-sense web page for Apache2 on Debian 8.1?
I am trying in debian 8.2 but i am not found packet libapache2-mod-auth-radius whereas i have been include dvd1-3 debian and dvd1-2 update debian in my system. Where is that packet stand?
View 1 Replies View RelatedI've been working on my servers, one of them is Ubuntu and the other one is Debian (Newest), and both seams to have a problem with charset configuration.
They wont register ISO-8859-1, insted it says no value when i look at it with phpinfo() function. It's importen that i feel this is working.
I'm running an up-to-date install of Squeeze, and I'm having an annoying issue where php5 won't parse in userdirs (/home/*/public_html), although it works fine in the main document root (/var/www). I found this bug: [URL] Which seems to say the issue is fixed. However, the last comment for this bug suggests it is still an issue for some.
I've had a look at: /etc/apache2/mods-enabled/php5.conf and commented out the lines suggested in the comment:
[Code]....
..and it still doesn't work. I've googled this and can't find an answer. Anybody know? Am I missing something simple?
My system is a three days old Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) with an Intel(R) Core(TM) i7 CPU 60 @ 2.80GHz. It does start, goes through the grub and then spits out strange messages and just freezes before the KDE can be started. I have to restart again, until it really boots everything. This is happening in a random pattern.
I activated bootlog, but as far as I can see, the log only tracks, if the system is really booting. So I also have the dmesg copied into pastebin. These are the only two logs I know, now.
The code of the boot log goes here-
Wed Aug 17 10:24:19 2011: Setting parameters of disc: (none).
Wed Aug 17 10:24:19 2011: Setting preliminary keymap...done.
Wed Aug 17 10:24:19 2011: Activating swap...done.
[Code].....
Some problems keep bothering me and dont let me use my debian sqeeze with joy.Im in network with no DHCP on. When installing i didnt configure my eth network card.After each restart i need to configure manually my eth because it loses it.
View 7 Replies View RelatedI'm using Debian 8 and I have ipset v6.23 and iptables v1.4.21. I put a rule with ipset in rules.v4 file and then I restart the iptables with netfilter-persistent service. When I reboot the iptables list is empty. But if in the file I don't put a rule with ipset, after reboot the iptables list is correct.
View 4 Replies View RelatedI wanted to ask how to restart the Debian Server. It should start daily, at 2-3 o'clock in the morning. Don't know how to program the server.
View 4 Replies View RelatedI am having some problems after installing apache2-mpm-itk on my Debian 5.4 server. From my understanding apache2-mpm-itk will run child processes as root until a http request is received. It then suid's to the username in the VirtualHost directive. This is all working fine, as I can see a few apache processes started by a specific user.
However, the problem is when I try to restart apache. It will kill all the processes running by root but wont kill any of the processes that have been suid'ed to another username.
When i attempt to restart I get this error:
Code:
charged:/etc/apache2# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
[Code]....
If I do a "ps aux | grep apache" before and after I see all the root processes killed, but processes running as specified users from VritualHost directive remaining.
Now I am not an extreme linux power user, but I know a bit.
I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.
Output of "systemctl status samba.service":
Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba)
Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)
Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).
[Code] ....
Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.
Now Debian6 suspend and rstart is all ok!
Auto start a program with login is ok.
How to auto start a program with debian suspended and restart ?
Maybe with gdm3 or NIC....?
How can I catch a event to auto start my program?
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
So this very (for me) important little package fails me once again. But this time it refuses to restart/start
This is the output:
Setting up openssh-server (1:5.3p1:-1)
Restarting OpenBSD Secure Shell Server: sshd: failed!
/dev/null is not a character device!
invoke-rc.d: initscript ssh, action "restart" failed.
[Code].....
The error is within the /etc/init.d/ssh script. ("error")
This is in squeeze so I can only blame my self, but.. This is one of the packages that fair and square should not fail to install/update/start/restart no mather what!
in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?
View 7 Replies View RelatedI installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?
View 4 Replies View RelatedI am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.
View 2 Replies View RelatedHowto disable IPV6 in Lenny?
I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases
# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.
[Code]....
alias ipv6 offbut howto check after restart if ipv6 was loaded or not?
I've been using Debian since the early days of Lenny being testing as OS on the same Computer. Its a Acer Aspire Notebook with switches for wireless and bluetooth. While booting Lenny my wireless and bluetooth stayed off as long as I didn't switch them on. But since squeeze they get activated ( you can see it by looking at the LED's ) the moment after the grub screen. I now do have to turn bluetooth and wireless off by hand everytime which is quite annoying since I mostly use eth0.
how to disable bluetooth and wireless per default in a way I can simply turn them back on by using the switch?
So from a web server stand point if we start using swap for httpd or mysql its bad and performance goes down the drain. So would it be a good or bad idea to disable swap entirely?
View 2 Replies View RelatedHow to completely disable hibernation in Debian Squeeze (with KDE). If it's impossible to disable it for whole system, I want to hide button in KDE menu.
View 3 Replies View RelatedI just installed apache2 and i can't restart the service, i get: Code: sudo: /etc/init.d/apache2: command not found
View 6 Replies View RelatedI have been working on this for a few hours now and still haven't been able to track down whats going on. I just switched servers and put a fresh debian install on with apache2 + custom suexec + php5(fcgi). now when i upload a file to the site it wont upload, so i tracked down the issue. its the /tmp directory that root tmp. its at 100% so i restart the /etc/init.d/apache2 process and the /tmp directory is automagically cleared to 20% used and i can upload again. so i figure ok its got to be a setting. i looked in all the conf files conf.d the php5 conf files and no where do i have a /tmp directory set. so i think OK I can build a cron to clear the tmp directory every 10 mins till i find the issue, but alas, when i go into the tmp directory There are NO files to delete!!! wtf. holy crap. and all that goodness, this is crazy, how can you have a tmp directory that is not being written to, from all i can see, so i think ok it might be a hard link, i checked, in all root and sub root directories no hard links to tmp, no soft links to temp either. and if i sit in my /tmp directory and do a df -h after some uploads its going from 20% so 23% and up, but i do ls -alh and nothing, then ls -al and watch bytes, nothing , so this is very strange. has anyone encountered something like this? is it possible that this is a hard link thats hidden somewhere or some other extreme function i have never heard of?
View 8 Replies View RelatedI have Debian 7 running on RPi2 with Kodi. My NFS server is running on Slackware 14.1 which doesn't have full support for nfs4. I think this is causing some slowdowns/extra time when trying to stream video. Debian 7 by default mounts NFS as nfsv4, I would to like to disable this if possible. If so how?
View 1 Replies View Related