Software :: Shortcut To Restart Or Stop A Service?

Jan 28, 2011

Is it possible to make a shortcut on desktop to stop or restart a service in Linux?

View 5 Replies


ADVERTISEMENT

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 View Related

CentOS 5 Hardware :: Service Network Stop Automatically - Restart In Cron Tab

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

Ubuntu Installation :: OpenLDAP Slapd / Can't Stop The Service With Service Slapd Stop?

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

General :: Will Command Service Httpd Restart Apache Service?

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

Red Hat / Fedora :: Shows Unrecognized Service After Restart Service Smb

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

Ubuntu :: How To Restart Network Adapter (not Service) Without Restart?

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

Fedora :: F11 Missing 'Restart X' Shortcut V. Ctrl+Alt+Backspace

Aug 19, 2009

used to use this feature alot in F10 ... not sure... but i can't find it in the keyboard shortcuts prefs

View 2 Replies View Related

Server :: Restart The CVS Service In The 6.2?

Feb 17, 2010

I have linux server which 6.2 very old which was installed long back. CVS is running there . problem is sometime the port doesnot listen sometimes listen if i do netstat -an.It is weired. not sure how to restart the CVS service in the 6.2 server

View 1 Replies View Related

OpenSUSE :: Restart Automatically A Service?

May 27, 2010

I have a box Suse 11.1 with a service that (I dont know why) every day stop at the same time. Im finding why it come to a halt but in the meantime I would like restart it automatically.As root I insert in crontab the line:25 16 * * * /etc/init.d/service startBut it don works
If I launch manually /etc/init.d/service start (or stop) it works

View 3 Replies View Related

Ubuntu :: Can't Restart Lm - Sensos Service?

Sep 1, 2010

I can not restart lm-sensos service. This is what I get:

Code:
mahmood@localhost:~$ sudo /etc/init.d/lm-sensors restart
.: 39: Can't open /etc/init.d/functions

View 7 Replies View Related

Server :: Cannot Restart Httpd Service Port 80 Already In Use?

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

General :: How To Stop Ftp And Smtp Service

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

Server :: NFS Service Fails To Stop?

Mar 5, 2010

I have setup a backup system on a NFS Server, and everything is working fine.Then, I decided to make changes to my backup script, and accidentally, I turned off both the NFS Server and Client without unmounting first.The NFS Server is working fine, but the client is having a problem. I cannot shutdown the nfs service. Here is what I get when I type "service nfs restart":

Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]

[code]...

View 1 Replies View Related

CentOS 5 :: Stop The X Server Service ?

Aug 9, 2010

I been trying to install the Nvidia driver for my recently installed centos desktop but I could not find the services that I can stop. I have a gnome. did try gdm, xdgm etc etc but no luck how do I stop the x server service ? so that I can install the driver.

View 3 Replies View Related

Debian Configuration :: Jessie - Service Samba Restart

Oct 20, 2014

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.

View 2 Replies View Related

Fedora Servers :: Service Httpd Restart - Broken In F11?

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

Ubuntu :: Printing Margins - Restart Service Or Something After Changing Ppd?

Aug 10, 2010

I have an HP Deskjet D1460. I am using Ubuntu 10.04 and HPLIP 3.10.2 that came with the distro. I am in a plan of moving my windows PC to ubuntu in my bussiness, and this is the first of them. Trying to solve all the problems before converting a second one. All seems to work quite well and almost out of the box... and that is a huge step from the last distro i tryied 2 years ago. So, my difficulty now resides on the printing. I am using a small VFox program that manage some of the aspects of the bussiness, in wine. It works without problems, but... when I print, all the pages get printed like 1cm below than when it was printed under windows. The problem is, that I use the printer to fill some forms that came pre-printed, and now, I am printing over the other text instead of the white spaces. I read a little, and try to adjust the HWMargins and the ImageableArea in the ppd of /etc/cups/ppd/ but it was like if I was doing nothing. Do I miss a step? Do I need to restart a service or something after changing the ppd? The margings when using the printer gui from Ubuntu are all in 0, and for that i need like a minus something.

View 3 Replies View Related

General :: Kill Zombie Process - Cannot Restart The Service

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

General :: Giving The Command Service Nfs Restart In Fedora14

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

Fedora Networking :: Can't Stop Named Service

Nov 30, 2009

I am new in configuring named.I want to set my firewall (Fedora 11) as a name server. The local domain is a Windows domain. I'd like internal users translate domain name into IP on this server when they go to the internet. After reading some posts on the web, I set up named as below. It seems the named does the job but with some problems.

1) When I start the server, I couldn't find the named process even if the file "named" is in /etc/init.d. I can browse Internet on the server with domain name (DNS works locally). But internal users couldn't get the domain name translated. If I shutdown the server at this stage, it will shutdown within 1 minute.

2) If I run "service named start" after the server boot up, I see process "named" and named work okay. Both internal user and local host can browse Internet with domain name. However, any command starting with "service named" has no response after this, such as "service named status" or "service named stop". I can see it shows "stopping named" and this last forever. I have to kill the process then restart named server so that named may run again.

3) If I shutdown the server now, it will take 4-5 minute instead of 1 minute in 1). The shutdown stuck at "shutdown named" for 4 minutes. Even if I kill process named before the shutdown, it will take 4-5 minutes.

It took me a week on this issue. I appreciate if you could take a look my configure files and guide me through this.

View 14 Replies View Related

Ubuntu :: Stop Service On User Login?

Feb 11, 2010

I know this is not something that's usually done, but how do I stop a service like Apache only when I log on my user account?

View 4 Replies View Related

Red Hat / Fedora :: How To Start Or Stop Telnet Service

Feb 1, 2010

How to start or stop telnet service in red hat Linux 5

View 2 Replies View Related

Red Hat / Fedora :: How To Stop DHCPD Service During Boot

Jul 19, 2010

I am a Linux newbie using Oracle Enterprise Linux version 4 update 7 (its almost similar to Redhat Linux). While going through tutorials, I tried to configure the DCHP service and set it to start after every boot via the command

chkconfig dhcpd on

When I boot my Linux,the OS hangs when it tries to start the dhcpd service.Thus,I cannot log into my Linux and shutdown the service. How can I go around this and shutdown the DHCP service to enable my Linux to fully load after a boot?

View 2 Replies View Related

Networking :: Start And Stop Squid Service?

Feb 9, 2011

I have installed squid 2.7 in my red hat Linux box.I need some guidance regarding to start and stop squid service. Normally when squid configuration file is n /etc/squid/squid.conf and we want to start the service we use # service squid startand to stop the service we use# service squid stopNow squid is inCode:# /usr/local/squid/etc/squid.confhere the default # service squid start and # service squid stop does not work.

View 6 Replies View Related

Programming :: How To Start/stop Squid Service Using PHP

Oct 21, 2009

Im using PHP and Sun Solaris to do something for Squid Proxy Server. im using......

- LAMP / SAMP
- Linux / Solaris 10
- Squid Server
- PHP

actually i need to know that someone knows about how to start/stop Squid Service using PHP code.

View 2 Replies View Related

Fedora Networking :: F11 - Service Network Restart Does Not Bring Up All Interfaces

Jun 23, 2009

If I restart the network service, not all interfaces come back up. Is this expected behaviour or does something need a kick?

Code:
[root@@aspire3500 ~]$ service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface wlan0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
[root@@aspire3500 ~]$

View 3 Replies View Related

Fedora Servers :: Upgrade From 10 To 11 Breaks Service Httpd Restart?

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

Fedora Networking :: Service Network Restart - Device Not Active

May 1, 2011

I use fedora 14 and when I'm trying to run the network service on my system it gives me the following error -

# service network restart
Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active [FAILED]
Shutting down loopback interface: Error: Device 'lo' not found. [FAILED]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManager or unavailable [FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists

And whenever I try to activate the device in graphical mode again it shows the above same error.

View 6 Replies View Related

Ubuntu Servers :: Can't Restart The Service - Apache2: Command Not Found

Sep 5, 2010

I 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 Related







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