Slackware :: Quicker Way To Start Or Disable Service
Mar 23, 2011
I've been practicing C programming the past month and had the idea to do this. I don't know if there's already something similar, or if anyone would find this program useful.Slervice simply calls Pat's scripts and the chmod command. I believe it's self explanatory. It can be compiled with cc slervice.c -o slervice.
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.
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?
I have upgraded to ubuntu 10.4 i have some issues with it, first how to disable service permanently using GUI, second how can i change root passwd i tried sudo passwd root does not work, third i have network shared driver i want to mount permanently and create short cut to desktop.
When installing Samba and Webmin I use the application "system-config-services" or (if it is easier to find for you that way) menu->Administration->Service management. In this application I can start the services I need (nmb, smb, webmin), but the enable/disable at startup setting is greyed out... Even when I start the application as root it still gives me no possibility to configure the services to start up on boot. This should be possible. It works this way in Fedora 13 and Fedora 14, so why not in Fedora 15?
Before reporting a bug, I would like to ask if other users here have the same problem (and -if possible- a solution)... In the mean tim I guess it is back to the old way of configurating services - sigh..
[edit] I tried to remove the [SOLVED] from the title, but the forum software does not seems to allow me to do that... I thought it was solved by installing xinetd, but I was happy a bit too early. I still have no answer for this problem.
Does anyone know why the write speed of usb flash would be so slow? I'm running ubuntu off my flash drive but it is running really slow. I've tested the read speed which was about 33 meg a sec. But the write speed is only about 7 meg a sec. When running ubuntu it is very slow, not tolerable at all. I've read on some sites that there is a way to fix this but I'm not finding any good tutorials on making the write speed quicker.
Running Opensuse 11.1 on an HP laptop. When I resume from hibernation or standby, I usually have to wait for about a minute for the wireless card to find my router. Is there any way to speed up this time to connect process ?
Interestingly when I boot from cold, the wireless connection is most times ready to go as soon as the boot has finished. So just wondering how I can make things quicker for resume from standby or hibernation
It is the first time have I used VPN. I installed OpenVPN in my Fedora 11 computer. I did it following:URL...And I stopped at step 16: service openvpn start . The service can not start up. Even if I disabled Selinux . Does anyone know how to treat this trouble.
My Ubuntu 9.10 Server does not automatically get an ip address at start up and I have to run
Code: sudo dhclient
every time so I it connects to the network, gets an ip etc. This is fine so long as I am physically present. If I am accessing it remotely using SSH and reboot the system there's no way I can connect back again untill someone runs a sudo dhclient on the machine.
No I am trying to add dhclient to startup automatically. I was hoping to put it in /etc/rc2.d but to be able to run the script must be present in /etc/init.d. The dhclient command is located in /sbin
Creating a sym link in etc/init.d to point to /sbin/dhclient hasn't worked for me so far. I can't copy the command to /etc/init.d before running
Code: update-rc.d dhclient default?? How else do I have it run at system start?
I have been working to try and get lirc to work with my Winfast 2000/XP. I keep getting an error that the kernel module isn't loaded. This is on Ubuntu 10.04 x64. When I try to start the service, I get the following:
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 installed MySQL and I want the service to (always) start. When I google I always find the same answer; Goto System > Administration > Services. But I don have it. Administration for me goes from 'Printing' to 'Software Sources', so there's no 'Services'...
Also should I be able to start it from a shell, but I also can find that. (I have no /etc/rc.d/-directory and my /etc/init.d/-directory han no 'mysql'). I just started using Linux a few days ago (I only used MaxOsX and Windows before).
I have a service/daemon that won't start from boot. I have used the chkconfig --add <script name> command that went ok I also used the chkconfig <script name> on and that seems to be fine and I have made the script executable Chmod 777 <filename>. By all account it looks like the script is running at boot the the services has not started. When I do a ps -ef | grep ndb_mgmd this process is no there. the script can be run from the console and sems to run fine!
#!/bin/bash # chkconfig: 345 70 30 # description: MySQL Cluster management server start/stop script echo hello Paul >> /tmp/hello.txt configdir=/var/lib/mysql-cluster/
I am in the task of migrating old linux to new linux which centos 5.5. while moving out all apps ,data etc.I need to configure SSL in apache.I have installed mod_ssl with apache 2.2. i went though some docs to configure with certificate that I have . Not sure how to start the service in 2.2. The apache/SSL was configured in my old server which apachectl. SO after importing certificatr , I do ./apachectl startssl to take in effect. In my new server , the http service is /etc/init.d/httpd, not sure how to start SSL service in centos 5.5.
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.
I have a couple of problems - and am new to Fedora which, up until about three days ago, was flawless.Am using KDE on F13. (Gnome & LXDE are also installed.)First problem is easy to solve, I think. How do I prevent "inactive" windows from fading out? It's an incredibly inconvenient feature and utterly defeats the whole purpose of the "Always on Top" option! I can't seem to find the option anywhere?On to KPackageKit. It has been trying to update KDE for the last three days but always gets hung up with the message: "Waiting for Service to Start."I notice that this problem might be listed as a Bug? - but not entirely sure.Is there a straightforward solution to this or is it, in fact, a bug?It also wants me to repeatedly restart because a new Kernel 2.6.33.5-124.fc13 has supposedly been installed.
How can I start the vncserver serivce before any uesr log in? because I only have one screen now what I already did is when I log in the vncserver service going to be startup, but I want it can start before I log in. I try the "chkconfig --level 345 vncserver on" but after I reboot, I still cannot access the system before I have a log in action.
I wonder how could I start my ruby on rails mongrel_cluster at the start of my openSUSE 11.0 Server and I don't have a GUI. So the shell solution would be good.
I know I have to count how many instances are running: ps x | grep apache2 | wc -l result if it's running: 2, or else: 1 I also know there is a command called test that I could use to perform the verification, but I don't know how to use test with wc
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.