General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop
Oct 11, 2010
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies
ADVERTISEMENT
Dec 25, 2009
will the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies
View Related
Jan 28, 2011
Is it possible to make a shortcut on desktop to stop or restart a service in Linux?
View 5 Replies
View Related
Jan 23, 2011
I am using
# uname -rmi
2.6.18-194.26.1.el5PAE i686 i386
# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 5 (Tikanga)
CentOS release 5.5 (Final)
I have noticed that after few days of ideal system it will stop its network interface. To resolve this I have to login to the machine it self and then issue
# service network start
Is this a feature. If this is not a feature then what is this. As an workaround I am thinking of adding service network restart in cron tab for everyday in night when I am not using it.
View 6 Replies
View Related
Aug 25, 2010
I configure my apache and can run http://localhost. There "I see it works!" but if I try to stop apache I get message that httpd is not started. I run
apachectl start - ok
but when I run apachectl stop it says "httpd (no pid file) not running"
I need to stop apache, because this is my dev machine and I want to start apache only when I make changes to my site. I am with slackware13.
View 4 Replies
View Related
Aug 26, 2010
Ubuntu restarts every 1 hour and sometimes around 3 am in the morning. It is happening for the past few weeks i didn't find any help for this problem in the net. Please reply if there is any way to find why it is happening or how to stop if from doing an auto reboot
View 3 Replies
View Related
Jan 16, 2010
I neded to make some changes to the httpd.conf file. Afterwards I tried restarting,but it won't restart.It's saying port 80 is already in use. after checking via lsof -i :80 I get this result:
[Code]...
View 1 Replies
View Related
Jul 5, 2009
Has anyone noticed that when using NameVirtualHost's in apache that the service httpd restart command is broken?Also it seems system-config-bind has glitches too.
View 10 Replies
View Related
Mar 22, 2010
Alright, so I upgraded my old fedora 10 server to Fedora 11 with a netinstall CD, but now service httpd restart is broken. I already had to delete the old config file and reinstall apache, but now I can't restart it. I can kill it and then start it manually, but it never stops the running instance and fails to bind the port. I know it's because /var/run/httpd/htpd.pid is in the wrong place, which would be /var/run/httpd.pid, but do I have to make a symlink every time I want to restart it? I edited all the config files to point to the right place, but the system does not honor them. What do I do?
View 3 Replies
View Related
Jan 7, 2011
I have a small question for you my friends."HOW CAN STOP BOOT SCREE AND RESTART ,WHAT KEYS ARE NEED?"I want to say thisC starts and I want to stop in whatever one point to read the messsage ,especially when I see "failed".I have 2 points with failed I can't have enough time because it's going fast.Of course I read the boot messages from /var/log but they are too long and to be honest evan I used in "gedit" the option "find" to search of raws with "failed" I can find some ,but other not.That's I think when PC start and if I can stop/PAUSE the boot process using some key combination I note and after I cancel "PAUSE" and PC continue the booting process.
View 4 Replies
View Related
Apr 1, 2010
Xubuntu 9.10 on a DELL Inspiron 1150.I have a problem with intermittent dropping of my wireless connection ( see Belkin 7010 thread).Once dropped, the wireless will NOT reconnect (It just sits there saying "connecting" but never does) Same happens if I manually disconnect - I can never re-connect. On rebooting it will reconnect fine & all is well for sometimes 4 hrs.How can I kill all wireless services & restart them without having to reboot the laptop?
View 3 Replies
View Related
Mar 13, 2010
I have a suspend problem in my laptop. Sometimes, when resuming from suspend, the network adapter is down (that is, the network does not work and the light of the network adapter is off). Restarting the network service doesn't work, because I think that the system forgot about the hardware, and probably the driver should be reloaded.Does anyone knows how to do that?(ps. /etc/init.d/networking restart does not work, because the hardware driver is not being recognized anymore).
View 5 Replies
View Related
Jan 7, 2010
is it possible to restart /start/stop all services at the same time without rebooting?
View 3 Replies
View Related
Oct 12, 2010
I have a GUI for Samba already as it most likely installed, the problem is I don't have a shared folder in admin menu. I have told samba what folder to share and what user to have access to it. As well I have looked at the config file to make sure what was in the gui printed into the config file. However I cannot start, stop, restart samba via command line. I will try config package and hopefully that drops down everything,
[code]...
sudo service smbd restart unrecognized service, nmbd same thing. Now it is installed, but has no script file or the script file is not in the init.d folder like it should be still trying to figure I have come to the conclusion that the daemons are not installed and am trying to figure out what those script files look like or a way to import them off a ftp, however no luck with google so far. But the scripts files don't exist on my box. how do you install samba daemons when it says samba is already installed.
View 7 Replies
View Related
Feb 22, 2010
waht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?
View 1 Replies
View Related
Jun 16, 2010
I have startup scriptsI want to test themI need a script to do the followingstart restart stop for 100 times (or i can set how many cycle)
View 1 Replies
View Related
Mar 8, 2010
If I uncheck and recheck "Enable Networking" in the Network Manager Applet 0.7.996 I would expect the wired network to disconnect (which it does) and reconnect (which it does NOT). So I tried sudo ifdown eth0 and got
Quote:
Ignoring unknown interface eth0=eth0.
ifconfig tells me
Quote:
eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]....
so I am at a loss. How do I stop and restart the network interface short of rebooting the machine?
View 9 Replies
View Related
Apr 2, 2011
[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (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
no listening sockets available, shutting down Unable to open logs [FAILED] Iam facing the above error when i restart the service httpd
View 9 Replies
View Related
Oct 20, 2010
I am trying to setup LDAP server on Ubuntu 10.04 and am sticking to the old /etc/ldap/slapd.conf file configuration.
I had to comment ldapi:/// from /etc/default/slapd since it was giving 'Address already in use error'. Also had to juggle with pid directory and file issues
After that I was able to start the slapd daemon (service slapd start) but now I am running into multiple issues:
1. Can't stop the service with service slapd stop
Code:
## Service stop returns 0, maybe because start-stop-daemon is not giving error
#service slapd stop
Stopping OpenLDAP: slapd.
# echo $?
0
Will switching to BDB database resolve this ?Also can't I slapcat at non-root user ??
View 2 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
Oct 17, 2009
I am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.
View 1 Replies
View Related
Feb 8, 2011
i've just installed an ubuntu server 10.10 with drbl and clonezilla everythink seems to works fine, i was able to create a new images and i was able to deploy the new images to 6 pc's at the same time via braodcast, but to deploy again the images after each braodcast session i have to stop and restart the "opt/drbl/sbin/dcs" command.i've reinstalled ubuntu again, i've changed the swicth and tried a new network card but problem still persist.
View 2 Replies
View Related
Apr 29, 2010
I m using apache http server for hosting a website.
Whenever i start httpd service 8 apache processes get triggered . Is it normal? Is apache is default application server like IIS in windows?
Quote:
top - 15:49:15 up 8 days, 22:53, 3 users, load average: 0.73, 0.77, 0.91
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 8.0% sy, 0.0% ni, 91.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064720k total, 2017072k used, 47648k free, 204452k buffers
[Code]....
View 3 Replies
View Related
Nov 24, 2010
I`d like to find out how to restart USB ports without restarting whole system?I googled some but solutions mentioned were refering to some modules that are not present on F14.
View 2 Replies
View Related
Nov 30, 2010
clafiry what this means? It is in my secure log file: xinetd[5544]: START: smtp pid=6574 from=xx.xx.xx.xx xinetd[5544]: START: ftp pid=6465 from=xx.xx.xx.xxThey are repeated in my secure log hundreds of times, one every second or so.Also how can I stop my ftp and smtp service? Tried the usuals:service ftpd stop/etc/init.d/proftpd stopIt's a Fedora server.
View 1 Replies
View Related
Oct 14, 2010
I installed UNE on my desktop pc just to see what it's like. It starts okay, but whenever i moved my cursor over the left side app bar the entire interface closes and restarts. I therefore can't use the app bar at all. Has anyone else encountered this? Any recommendations?
View 1 Replies
View Related
Aug 7, 2010
I have a process that I cannot kill with kill -9 how to go about this?
[Code]...
It is an openvpn process but I cannot retsrat the service as I alreday have another openvpn service running on the server so when I do openvpn service restart, it won;t know which service to restart.
View 3 Replies
View Related
Jan 5, 2011
When ever i am giving the command service nfs restart in fedora14 iam getting the following:
And when typing the command service portmap restart in fedora 14 i am getting the following:
When i tried this in redhat and centos it was working in my class room but when i am trying it in real time it is not working so what does it mean and how to resolve the issue.
View 2 Replies
View Related
Feb 28, 2010
i can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows
samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....
View 2 Replies
View Related
May 5, 2010
I am running Fedora 11 with an Oracle 11g database installed. I came to check on it and found out that the oracle service had stopped. I also have a script that gets run by cron every minute. I noticed that the last entry in the log /var/log/cron was March 24 at 4:26. Which was really close (not exactly to the second but within a few minutes) of the last log entry in the database translator logs (the database was processing data and it outputs a log).
I rebooted the machine and cron started running again, but I can't get the oracle service to start again. Normally it runs at startup, but if I need to run it or check it, I use:
Code: /sbin/service oracle restart
Is there another log that I could look at to see what would be the cause of the stoppage? How to get the oracle service started again?
View 6 Replies
View Related