Red Hat / Fedora :: Diff Between Service Prog Start & /etc/init.d/prog Start
Apr 3, 2009The difference between: service httpd start & /etc/init.d/httpd start.
View 3 RepliesThe difference between: service httpd start & /etc/init.d/httpd start.
View 3 RepliesI'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then I try to run it via "./prog.sh start". Here are all the relevant bits of prog.sh:
[code]...
When I actually do ./prog.sh start, it starts. But I can't find it at all on the process list. Nor can I kill it manually, using the same command the shell script uses. But I can tell it's running, because if I do ./prog.sh stop, it stops (and some temporary files elsewhere clean themselves out).
[code]...
the process is running yet not in any way listed by the system. I can't find it in ps or /proc/, nor can I kill it. But the shell script can still stop it properly. So my question is, how can something like this happen? Is the process supremely hidden, actually unlisted, or am I just missing it in some fashion? I'm trying to figure out what makes this program tick.
Being used to KDE (Suse), I really like the ability to click on the "start" menu, and being able to immediately type in to search for a program/file/link, which then brings up the options and you can just click on one.Is there any way to do a similar thing in Ubuntu/Gnome?
View 1 Replies View Relatedhow do I create a shortcut to a Wine program on the Desktop?
View 9 Replies View Relatedwhen trying to run a tcl file, i gt the following error
[Code]...
how do i make "picasa" the default program for viewing my photoes.im now using "google chrome" as my prefered browser,instead of firefox,much better imho,
View 7 Replies View RelatedI want to findout how to paint a line in C without using a line function or OOP. I want to control it by pixels.
View 6 Replies View RelatedI have this problem constantly and it tells me to install such and so a prog, but I do locate [prog] and it shows up in 80 places so it's obviously installed. I just have no clue how to attach the two or to set up anything in the ./config set up so it leaves me completely stuck. So what's the trick when it's already in there? Also..it says I just joined? in 2008.
View 5 Replies View RelatedI 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 need to start a service before network service How to?
View 1 Replies View RelatedHow to use execv from kernel space to call a user space program writtenfor socket prog.
I tried to write code for socket in kernel but its not working.
Socket code in kernel is also needed.
i ran netstat**************o/p**************************
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3167/cupsd
[code]...
I'm currently running SUSE 11.1 and trying to start Amavis so I can use Kmail. I have just run the latest updates via Yast. I'm getting the following when I try to start Amavis: /etc/init.d/amavis start returned 7 (program is not running):
View 1 Replies View RelatedI use FC8 and i want some services like HTTPD and NAMED to start at the start of the system , how to create a script to do that .
View 9 Replies View Relatedwhen i start qmail seervice it gives error#/etc/init.d/qmail startStarting qmail-toaster:
svscansupervise: fatal: unable to acquire pop3/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire pop3-ssl/supervise/lock: temporary failure
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.
View 1 Replies View RelatedI 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.
View 11 Replies View RelatedI 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.
View 7 Replies View RelatedHow 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.
View 4 Replies View RelatedHow to start or stop telnet service in red hat Linux 5
View 2 Replies View RelatedDoes anyone know a secure method for starting a service after a user logs in to the desktop environment? There are a couple of issues that I'm trying to work around / troubleshoot and this would assist with doing that.
I'm running Fedora 11, not sure if that matters for this question.
I performed the first update in 4 months to my Fedora 12 Constantine. I also removed a 'dial-up' package (figured i didnt need it) and the KDE package after the update. Firefox was not getting a connection to the internet at this point. The network view showed the ethernet as inactive. Everything besides Firefox appears to work fine.
I restart machine.
It boots until right after the fedora logo fills up. At this point my dual monitors go to sleep. No response from anything. When I start in interactive mode I hit y for everything. Everything works great until libvirtd, libvirt-guest, and local. After y on all three nothing happens. I can type on the screen but no response. It just sits there. I can boot into text mode and do whatever I want. What can I do? What other information do I need to move forward?
I have looked at the Xorg.0.?? i forget what its called. I am not versed in reading the messages in it. Same for the other logs I looked at.
How I troubleshoot Linux problems: Install Linux -> Problem -> Google -> Run Command -> Didn't work? -> Start Over
I have one problem regarding my web server. When I am try to restart my httpd service it shows...
[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]
[root@localhost ~]#
Just installed a Sparkle GeForce 8400 GS on my Dell Dimension 2350 running FC9. As stated, every time the system goes to start the card, a stack trace occurs. I know the first thing that everyone will ask for is the output from the stack trace, but for the life of me I can't capture it. Tried grabbing the STDOUT and SDTERR from the 'service start' command, but nothing interesting is ever there. If anyone knows if and where such things get stored, just letting me know that would help. I assumed there would be something in /var/log, but no. For some reason, there's a lot of python errors in the output. I imagine I could try to type in as much of the output as possible, but I'm hoping someone has seen this before.
Anyway, I've tried the Nvidia install executable, the nvidia-newest RPMs, the nvidia-96xx RPMs and they all fail the same way. I also can't get the card to come up as the primary device on boot, which I don't think should be a problem since they all boot into VGA mode, don't they? If I disable the internal video setup in the BIOS, the machine freezes on bootup with blinking lights on the keyboard, which I imagine is the BIOS's way of telling me there's no monitor available.
I also tried getting the nv and nouveau drivers going with no luck. They are installed on the machine, but I'm embarrassed to say I don't know how to get them configured. Not really a driver guy, I guess. Also, the reason I installed this card is to get TVOUT, and I don't know if generic drivers will have support for that sort of thing.
At this point, I'm just looking for a way forward. One thing I remember is that when I removed the 'fglrx' drivers (because they conflicted with the NVIDIA stuff) I remember that a few python/fglrx based packages went with it. I'm wondering if that could be at the root of the failure, given the python errors in the stack trace.
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
[Code]....
Unable to start tftpd service after starting xinetd
View 9 Replies View RelatedRecently i've upgraded my fedora 11 to 12 using the preupgrade command and now I have a problem booting! when i start the interactive boot it hangs after trying to run the service local, it looks as if its trying to boot because the cursor blinks really fast then blinks normally after a few seconds. no error was stated during the event. what seems to be the problem here?
View 3 Replies View RelatedThe 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 Relatedrecently installed phpVirtualBox and VirtualBox on my 10.04 LTS ubuntu server it's getting annoying having to type
Code:
/usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null
every time i reboot the server
tried for hours to make an init.d script that will run it but failed..basically I just want it to automatically run the above command on every boot.
Long-time linux user, new to Ubuntu (mainly a gentoo user). I need to get tor and privoxy up and running for a less computer-capable user. I installed Tor and Privoxy, configured them (apparently correctly) and they both appear to work just fine when I start them manually from their init scripts:
sudo /etc/init.d/tor start
sudo /etc/init.d/privoxy start
However, I cannot seem to get privoxy to start up properly when the machine boots. Tor starts up and waits patiently, but privoxy is dying or getting killed for some reason I can't understand, and on Ubuntu, have no idea how to diagnose. There's no privoxy process after booting, and the init.d script reports status: not running. I have the startup scripts for both Tor and Privoxy linked to in all the relevant runlevels. I played with the order thinking it might be a dependency thing. Hell, I even put a line in rc.local to try and force it to go. But no matter what I do, I can't seem to get the privoxy service to start for me any way but by manually typing 'sudo /etc/init.d/privoxy start' in a terminal, after logging in.
1. Help me get privoxy to auto-start during init
2. OR Help me figure out how to figure out how to get privoxy to auto-start during init. On Gentoo, all of the init scripts are listed on the screen during init as they run, and you can even run through them interactively by pressing I during startup. I have no idea how to do this on Ubuntu. I modified the kernel line to remove the splash screen, but the information Ubuntu puts on the screen during init is quite haphazard. How do I figure out what's going wrong with the privoxy init script?