Debian :: Default Service Start / Stop Priorities?

Jun 29, 2010

Service(init.d) scripts in Redhat have default start/stop priorities commented inside, like:

Code:
...
# chkconfig: 2345 25 90
...
Second number is start priority.

But debian does not include this info. Just in case service symlinks from all runlevels are removed how do I know which priority to specify?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: How To Start And Stop Asterisk Service By Non Root User

Aug 25, 2011

I am using debian squeeze server with asterisk 1.6 installed and configured.my problem is non root users need to access the server using ssh and restart asterisk server after making changes in asterisk configuration files.As of now i am giving root username/password for this process (i know it is not at all a good idea) .now how can i create a username and configure it which can only access and modify asterisk configuration files and restart asterisk server without any other privileges.

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

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

SUSE :: Use To Start Or Stop Samba Service In Suse10?

Aug 15, 2010

Which command i need to use to start or stop samba service in suse10? I tried rcsmbd start , ./smbd start , /etc/rc.d/init.d/smbd start and no result. And the second question . How i need to connect to samba server from windows7 ? Are there any samba client programs or i must connect from cmd ?

View 2 Replies View Related

General :: PostgreSQL Service Failed To Start Or Stop

Jan 6, 2010

I am using RHEL 5.0. I am having problem with postgresql service it is not starting, not stopping, not restarting.

View 5 Replies View Related

Server :: Start And Stop Telnet Service On UNIX / It?

Sep 20, 2010

I googled it and found this information: To enable the telnet service, login to the server as the root user account and run the following commands:

Code:
# chkconfig telnet on
# service xinetd reload
but the very first command did not work.

So, how do we...

[1] start and stop telnet service on UNIX / Linux?

[2] specify configurations / settings for the telnet service to accept or deny connections

View 7 Replies View Related

Slackware :: Desktop Independent Service Start / Stop GUI For 13?

Mar 4, 2010

I need a services viewer/start/stopper for slack 13.Htop is OK but want a easier-to-use GUI like in Gnome,etc.However, I am using JWM and so need an app that is not too heavily connected to a desktop like KDE/Gnome.

View 4 Replies View Related

General :: Red Hat - Default Repositories - No Package Yum-priorities Available

Aug 22, 2010

Red Hat Desktop 5.5 I think I was successful in screwing up my yum configuration, I might have removed a few repo files too many. I wanted to add rpmforge to my repositories and wanted to install yum-priorities and it is telling me "No package yum-priorities available".

As I am sure it exists and my machine is not finding it it only leaves operator error/screw-up. What are the default repo files for Red Hat desktop and where can I get them?

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

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Debian Configuration :: Jessie Service Script Not Calling Status And Stop Routines

Apr 1, 2016

I am the author of an internet radio for the Raspberry PI originally running on Debian Wheezy. The radio (radiod) service is started and stopped using the usual service commands:

service radiod start|stop|status

Since upgrading to Debian Jessie the service status and stop routines in my radio daemon are no longer called.

For example:

# service radiod status
● radiod.service - LSB: Raspberry PI Radio Daemon
Loaded: loaded (/etc/init.d/radiod)
Active: active (running) since Thu 2016-03-31 20:17:07 CEST; 15h ago
Process: 380 ExecStart=/etc/init.d/radiod start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/radiod.service
└─603 python /usr/share/radio/ada_radio.py start

If I call my program (which runs as a daemon) I see the status message from my program

# ./radiod.py status
radiod running pid 603

I have established that service stop never calls my program routines to shutdown the radiod daemon when the system is rebooted (I see that from my log files).

The reboot hangs for about 5 minutes whilst stopping the radiod service (because stop never calls my stop routines).

Below is my radiod script, which is fairly conventional, and which has been working all the time until I ported to Debian Jessie.

/etc/init.d/radiod
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: radiod
# Should-Start:
# Should-Stop:

[Code] ....

View 4 Replies View Related

Debian :: Restore Default Runlevels Of Procps Service?

Oct 6, 2010

Is there a way to restore the default runlevels of procps service? I messed it up while experimenting..

View 1 Replies View Related

Debian :: Start Service At Boot Time On 4?

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

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

Debian Hardware :: Bumblebeed Service Doesn't Start

May 9, 2014

I've installed bumblebee following this : URL...But i think bumblebeed daemon doesn't start.

if I do:
Code: Select all# service bumblebeed start
or
Code: Select all# service bumblebeed stop
or
Code: Select all# /etc/init.d/bumblebeed start
ecc.
i got no output. No errors... nothing.

but if I use another service it works...for example:

Code: Select all# /etc/init.d/network-manager start
[ ok ] Starting network connection manager: NetworkManager.

View 6 Replies View Related

Debian :: Unable To Start / Stop Lightdm

Apr 4, 2016

I'm running Debian 8.4 on a Lenovo W500 laptop and I recently upgraded from kernel version 3.2.0-4 to 3.16.0-4. Since then I encounter issues with lightdm (I suppose) which manifest themselves in two different scenarios:

1) scenario 1: lightdm fails to start.Instead of showing the graphical login screen, the system boots into terminal. Lightdm seems to be running, but I can't enter the X-Session (Alt+Ctrl+F7 doesn't work), nor can I restart the lightdm via

Code: Select all# service lightdm stop
# service lightdm start

dmesg shows the following (I've only pasted the end of dmesg):
Code: Select all[  240.100071] INFO: task kworker/0:2:39 blocked for more than 120 seconds.
[  240.106512]       Not tainted 3.16.0-4-amd64 #1
[  240.112956] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.119494] kworker/0:2     D ffff880155155a48     0    39      2 0x00000000

[code].....

and /var/log/lightdm/lightdm.log shows errors of type
Code: Select allGtk-CRITICAL: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

when I then try to shutdown via
Code: Select all# shutdown -h now

the OS gets stuck on a message of the form
Code: Select allirq 17: nobody cared

and eventually I have to force a shutdown by holding the poweroff button.scenario 2: lightdm starts, but can't be stopped/In this case I can login and use the system as usual, but when I try to shutdown either via # shutdown -h now, or via the GUI or the power button, the system gets stuck and I have to force a shutdown by holding the poweroff button.It seems that people had similar issues on other distros (see e.g.: URL... but there doesn't seem to be a good fix so far. I can for now solve the issue by downgrading the kernel to 3.2.0-4, but I was wondering if there is a permanent fix.

View 6 Replies View Related

Debian Multimedia :: Start And Stop Xfce When Want?

Aug 24, 2011

I am trying to make a web server with debian 6 and i want a xfce dsektop when i need to open files,extract,navigate but to be able to turn it off when i dont need it (to save ressources).I already installed it with aptitude install xorg and aptitude install xfce.

View 4 Replies View Related

Fedora :: Start A Service Before Network Service?

Nov 6, 2010

I need to start a service before network service How to?

View 1 Replies View Related

Debian Configuration :: Can't See System Start And Stop Message From Console After Install

Sep 26, 2015

After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?

debian 7 output
----------------------------------------------
root@demo:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@demo:~#

debian 8 output
-----------------------------------------------
root@demo:~# service apache2 restart
root@demo:~# <=============================== No message (start or stop)

View 0 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

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

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

OpenSUSE :: Get A Message That Says 'Search Service Not Running' With A Button That Says 'Start Search Service'?

Jun 12, 2010

The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens

View 1 Replies View Related

Server :: DHCPD Will Start In Debug But Will Not Start As A Normal Service

Jun 7, 2010

I have setup a CentOS 5.5 server as a DHCP server. That will be it's only task in a Cisco callmanger VoIP environment The DHCP server that comes with CentOS 5.5 is from ISC V3.0.5 -redhat.

The server (HP DL360) has two physical NIC's of which only NIC1 is used (ETH0)

ifconfig shows:

Code:

The interface has a fixed IP setup.

My dhcp.conf file looks like this:

Code:

When I start (try to) dhcpd via the service interface or via the prompt as

Code: service dhcpd start

I get an [FAILED] message and the following is in /var/log/messages

Code:

But when I start the DHCPD on the comamnd prompt in debug mode it looks as follows:

Code:

and /var/log/messages shows:

Code:

Why does the system ask a declaration for eth0 0.0.0.0?

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

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







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