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.
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 ?
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.
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.
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 ??
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.
I have installed Oracle 11g on 5.3. Now, I am trying to START and STOP oracle automatically on system startup and shutdown. I am following this link To have this effect, I have created /etc/init.d/dbora
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?
frist i want to thank all who worked on this website i was install squid and other service in my office network server and install the same services with same configration on biger network about 150 machines every thing well on office network but the other network have problem squid hang and stoped serve any request and squidclient command return "alarm clock " message after many time but the service still run at port 3128 and status is started when i run /etc/init.d/squid reload its run again sometime and hang again squid log file have not any problem on it i install my server on gentoo with flags
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....
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
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?
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.
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 ]
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.
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.
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?
I am using squid 2.6 on my cent os 5 .I want to shutdown the system at 7:00 pm for that purpose I write in# crontab -e 0 19 * * * /sbin/shutdown -h nowThe thing which I want to clear that when the system will going to turn off it will also stop squid service? If not then how can I automatically stop squid service and then crontab file execute