Running TCPDump in the background? or as a service?
location: ubuntuforums.com - date: April 1, 2010
I was wondering how one could set up tcpdump to run in the background, dumping all output to a file until I terminate the process.
Here is the dilema... I SSH into the box that will be listening (using tcpdump)...
ssh> sudo tcpdump -i eth0 > dump_file
then if I exit my ssh session, tcpdump closes.
If I do a...
ssh> sudo tcpdump -i eth0 > dump_file &
and same deal, once I leave ssh it is gone.
[SOLVED] Problem with running PostgreSQL 8.4 as service on RHEL 5 server
location: linuxquestions.com - date: April 4, 2011
I am having trouble trying to get PostgreSQL up and running properly on RHEL. Here is my current situation:
1. I have installed PostgreSQL
2. I can start it using: /opt/postgres/8.4/bin/postgres -D /var/lib/pgsql/data
3. I can connect to the server using: psql
4. When I type "service postgresql" I get the following message:
"postgresql: unrecognized service"
5. When I type "service --status-all" I get the following message:
"PostgreSQL server is not initialized."
This is puzzling because I used the following command to initialize it:
"/opt/postgres/8.4/bin/initdb -D /var/lib/pgsql/data/"
Does anyone have any idea what I'm doing wrong? Any help would be greatly appreciated.
Forgot to mention what prompted this post to begin with. When I tried to use the command "chkconfig postgresql on" which was referenced at http://wiki.postgresql.org/wiki/RPM_Installation under the heading "S
[SOLVED] run thunderbird in background or as icon in systray?
location: linuxquestions.com - date: May 29, 2012
Hey folks, I have an issue which may be a simple case of RTFM, but bear with me.
I am running -current using xfce as my DE. I have set up and am using Thunderbird as my mail client, but it bothers me that I must have a full instance open and running on the desktop (or reduced to the taskbar) to receive mail. Is there a way to reduce thunderbird to a system tray icon instance or run in the background some other way so that I am still notified of new messages without having a full instance cluttering up my desktop?
There seems to be no option for this in the Thunderbird menus...am I missing something?
Unable to open Doc or Rtf file when openoffice service is running in background in linux
location: linuxexchange.com - date: February 4, 2015
I can't open Doc or Rtf documents with LibreOffice when openoffice service is already running in background.I am using jodconverter API to convert Doc or Rtf documents into Text documents and for that I need to start the service.I am using Ubuntu 12.04 OS.
I am using below command to start openoffice service.
soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard
please help me to solve this issue.
Running VirtualBox as service without GUI
location: ubuntuforums.com - date: May 3, 2012
Hello, Is it possible to run Virtualbox as a service in Ubuntu server 12.04 ?
I want to install a server with Ubuntu server 12.04 64bit and run 2 windows servers under Oracle Virtualserver.
Is this possible ? Or do I have to install the GUI ?
CENTOS5.3i386LIVECD.iso,Is it for LIVE running purpose only or for install as well
location: linuxquestions.com - date: August 3, 2009
CENTOS 5.3 i386 LIVE CD.iso is being downloaded by me at the moment and it will take around 6 hours to complete.
I wanted to know, if the .iso image is for LIVE RUNNING PURPOSE ONLY OR
it can be used for INSTALLING FRESH FULL COPY of CENTOS 5.3 on my system also.
If it can be used for installation as well then its ok,
but if it cannot be,
than can anyone please tell me, where can i get such a download which i can use to install CENTOS 5.3.
Workaround for running Xvfb and Ktorrent as a service in Jaunty
location: ubuntuforums.com - date: May 11, 2009
These forums have been enormously helpful in my switch from Fedora to Jaunty. To express my gratitude, here's a little "pay it forward":
When I was running Fedora, I ran Xvfb as a service, so I could run Ktorrent headless and interact only with the webUI. Fedora installed Xvfb as a service by default. Jaunty does not. Here's a workaround (it may not be elegant, but it works on Jaunty 9.04):
Instead of playing around with init scripts, you can use the start-stop-daemon command from within the /etc/rc.local script. First make sure rc.local is executible with:
sudo chmod +x /etc/rc.local
Then open rc.local with an appropriate editor (you'll have to sudo it) and add the following lines:
start-stop-daemon --start --name xvfb --background --startas /usr/bin/Xvfb -- :100 -ac
start-stop-daemon --start --name ktorrent --background --user [username] --startas /usr/bin/ktorrent --chuid [groupname:username] -- --display :100
where [username] is the
Running Jboss 7.1.1 on Fedora 20 as service
location: linuxexchange.com - date: January 16, 2014
I have encountered a problem with running Jboss as service on Fedora. Here is the log I have after using command: systemctl status jboss-as.service
Here is the log I have been receiving:
jboss-as.service - SYSV: JBoss AS Standalone
Loaded: loaded (/etc/rc.d/init.d/jboss-as)
Active: failed (Result: resources) since Thu 2014-01-16 09:31:54 CET; 46min ago
Process: 501 ExecStart=/etc/rc.d/init.d/jboss-as start (code=exited, status=0/SUCCESS)
Jan 16 09:31:22 servername.domain systemd: Starting SYSV: JBoss AS Standalone...
Jan 16 09:31:23 servername.domain jboss-as: Starting jboss-as: chown: missing operand after ‘/var/run/jboss-as’
Jan 16 09:31:23 servername.domain jboss-as: Try 'chown --help' for more information.
Jan 16 09:31:54 servername.domain jboss-as: [ OK ]
Jan 16 09:31:54 servername.domain systemd: PID file /var/run/jboss-as/jboss-as-standalone.pid not readable (yet?) after start.
Jan 16 09:31:54 servername.domain systemd: Failed to start S
How Can I Tell if I am running Ubuntu 32bit or 64bit?
location: ubuntuforums.com - date: August 20, 2011
I am running Windows 7 32-bit on my laptop HP ProBook 6550b and installed in dual boot mode ubuntu 10.04.3
ubuntu 10.04.3 LTS
Linux ncms-laptop 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011 i686 GNU/Linux
CPU op-mode(s): 32-bit, 64-bit
How can I tell if Ubuntu is 32-bit or 64-bit form the output listed above?
dnsmasq refuses if run as service, works when run manually
location: ubuntuforums.com - date: July 13, 2012
I'm not sure this makes sense. But if I do 'sudo service dnsmasq start' and then dig something, I get a 'status: REFUSED'. If I stop the service and just run 'sudo dnsmasq', doing the same dig request results in a proper response.
This odd behavior is happening on 2 systems. Both systems are working and serving queries fine right now. However, if they reboot, I'll be catching hell.
I don't get any errors in /var/log/syslog even with turning on log-queries in the dnsmasq.conf file.
Any idea why running dnsmasq as a service would make it refuse connections but run from a command line and allowed to daemonize it self, it works fine?
Page: 1 2 3 4 5 6 7 8 9 10