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 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 have recently installed Centos 5.4 on a server with 3 network cards. I am trying to enable IP forwarding which has been successful by executing the following command:
echo 1 > /proc/sys/net/ipv4/ip_forward
I tried to make this permanent by adding net.ipv4.conf.default.forwarding=1 to the /etc/sysctl.conf file.
When I restart the network service I get the following code...
I am running fedora 10 and webmin squid proxy server, after power failure the squid fails to start. i have tried to start it from command line but failed
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?
I install openswan on rhel6 and when i execute the command "service ipsec start "
it say: /usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled /usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled ipsec_setup: Openswan IPsec apparently already active, start aborted
I used samba on FedoraCore2 before...and now i cannot config the same on FC10. I cannot start the service smb ( /etc/init.d/smb restart or service smb restart ) those commands dont work. How can i do to config samba service.
Just completed the upgrade to 10.04 from 8.04, and ironing out the wrinkles. Since the upgrade, I'm not able to establish a VPN connection to my institute (a problem since outgoing mail REQUIRES a VPN connection) The pull down menu shows the connection as an option, but clicking on it brings up a separate window that simply says "The VPN connection CfA failed because the VPN Service failed to start." Never had this issue under Hardy, so not sure what's going on. Under "Configure VPN" the settings look the same as they always did.
I have recently installed CentOS onto an old machine to get it up and running as a basic web/mail server. Originally the Network Interface worked ok, however I have been editing /etc/sysconfig/network-scripts/ifcfg-eth0 to try and set the IP address to be static.Now when I run the 'service network restart' command it won't bring the eth0 interface up and comes up with the following errors;
ifcfg-eth0 Line 3 DEVICE: command not found missing config file ifcfg-ifcfg-eth0
It doesn't seem to like any of the command words, even though most of these were in the original file that worked and the ones I added to do static I have commented out.
I've been using Kubuntu Lucid on a Compaq tc4200 for nearly a month now. Suddenly today I logged into my machine and found that I couldn't connect to anything, Internet, LAN, router, nothing!Upon further investigation, I found that networking services weren't turned on at all!I tried manually starting the network service using
Code: sudo service networking start sudo /etc/init.d/networking start
I have CentOS 5.2 just installed and massively updated with yum -update command. Than I tried to configure firewall. After changes via system_config_securitylevel_tui (open ssh, http, ftp, and 3306:TCP ports) iptables service can't start with message
> /sbin/service iptables start Flushing firewall rules: [OK] Setting chains to policy ACCEPT: mangle filter nat [OK] Unloading iptables modules: [OK] Applying iptables firewall rules: iptables-restore v1.3.5: Couldn't load match `TCP':/lib64/iptables/libipt_TCP.so: cannot open shared object file: No such file or directory Error occurred at line: 18 Try `iptables-restore -h' or 'iptables-restore --help' for more information. [FAILED]
I erased the iptables service and installed it again with yum. How can I make this service work?
This should not be this difficult. I have a plain install of Ubuntu 10.04 64 bit with a wired network card. It picks up a private IP address from my router. It has an app called NetworkManager Applet 0.8 in the notification area of the panel. If I right click on this app and select "Disconnect" it does. ifconfig shows that the IP address is gone. I can then right click on the app again and "Auto eht0 and I am connected again and ifconfig shows the IP address restored. So far, so good. I was testing a crossover cable to see how fast I could transfer files to/from my server - both machines have gigabit cards but my switch is only 100 Mb.
I unplugged the PC from the router, hooked up the crossover cable to the server and found that I had no connectivity - the IP address was gone. Not wanting to mess with hard configuring IP addresses for the moment I connected the PC back to the router. When I unplugged the cable the app showed the networking disconnected icon. I tried right clicking on the app and unchecking [ ] Enable Networking then rechecking it. This works on my netbook running Ubuntu 9.04. No luck on 10.04 (and I had not tried the Auto eht0 as described above - did not discover that until later). So then I tried to fix it from the command line.
ken@taylor12:~$ sudo /etc/init.d/networking start Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service networking start
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g. start networking networking stop/waiting.
So I then tried ken@taylor12:~$ sudo service networking start networking stop/waiting but still no connectivity. A reboot got things back in order.
Then I did a little more testing. ken@taylor12:~$ sudo /etc/init.d/networking stop * Deconfiguring network interfaces... Ignoring unknown interface eth0=eth0. and I am still connected.
Editing Connections within the NetworkManager Applet shows "Auto eth0 - last used never" even though I have used it. [Edit] Auto eth0 via the app appears to show information about my wired NIC.
i installed freeradius 2.1.3 on fedora 10 and want to use it with ieee802.1x using peap. when i run command to start radius service in debug mode the following output come
Im having an issue after I install likewise-open it works fine until i restart the machine the lsassd service won't start for any reason and it's status is dead. Any one run into this issue before?
After much work finding the bits and bobs to get my PCI controller based modem working in Ubuntu 9.10, I need a better way to start and stop it. Now it dials up when I reboot whether I want to be online or not. I can stop this, but it won't dial up again without a reboot.
I would love a way to push a button to get it to connect and disconnect, and blinking lights (like the green computer screens in WinXP) to tell me when I am communicating. Even better would be a way to set up multiple connections, again like in XP so I could use a variety of numbers and/or user names depending on where I am.
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