General :: Start A Daemon As General User?

Sep 9, 2010

I need to allow certain users (who do not have root access) to be able to stop and start specific daemons

View 2 Replies


ADVERTISEMENT

Software :: Can't Seem To Start Daemon As Another User

May 31, 2011

I want to start a daemon as another user, but it doesn't seem to work. What I'm trying to do is run svnserve (subversion server) as the apache user.

The following works, but it's run as the root user in this case

Code:
svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid
Trying to run as apache user doesn't work
Code:
su apache -c "svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid"

[Code]....

View 1 Replies View Related

General :: Can't Start NTOP Service / Daemon

Jun 14, 2011

I have installed version of ntop 4.0.3 by guide.But I can't start ntop daemon/service. I didn't find a service file for starting.During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.

View 1 Replies View Related

General :: Use Chkconfig To Set The Bigd Daemon To Start At Runlevels 2 & 3?

Nov 22, 2010

How would you use chkconfig to set the bigd daemon to start at runlevels 2 & 3?

View 3 Replies View Related

General :: Lampp Won't Start Apache 'another Web Server Daemon Running'

Mar 7, 2010

I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?

View 2 Replies View Related

General :: Timeout Error Occurred Trying To Start Mysql Daemon / Resolve This?

Jun 29, 2010

I have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying
"Timeout error occurred trying to start MySql Daemon".

View 4 Replies View Related

General :: Add A Job To Start Up As A User?

Dec 29, 2010

I need to start a service(which is not a system default service, an installed software it is)at every reboot as a USER only.

View 1 Replies View Related

General :: Changing Default User Start Directory?

Jul 4, 2009

I would like to change the start directory, the directory at which ftp/shell points to when the user logs in.

View 1 Replies View Related

General :: Some Processes Do Not Start In Multi-user Mode

Feb 2, 2009

Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.

I just checked the server logs by booting it in single user mode. Here are some interesting lines:

Before the reboot:

irqbalance : can't balance irqs on a uniprocessor system: failed

After the reboot:

irqbalance : can't balance irqs on a uniprocessor system: failed
fsck:
fsck /: (this is repeated 900+ times)

[code]....

View 1 Replies View Related

General :: Run A (service) Command As A Normal User During Start Up?

Oct 12, 2009

I have found so many ways for root user to execute commands in so many possible path locations - but having difficulties on executing commands as normal user - during start up.This is what i've got for /etc/rc.d/rc.local script:Code:su -l user && (/bin/sh svc_cmd.sh &)But the command doesn't run at all...

View 2 Replies View Related

General :: Changed User Password / Unable To Start Services

Jul 25, 2011

Vmware tells me it cannot start services.I believe the issue is tied to permissions because the message indicated the log with the full details was located in /tmp/vmware-root/setup-4772.log but when I go there I receive a message telling me I do not have permission to the directory and there's a lock symbol on the directory from the File Browser utility.What do I need to do to unlock the folder and get vmware working again ?

View 2 Replies View Related

General :: Call Putty/plink To Start A Remote SSH Script With User Input?

Jan 18, 2010

Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :- Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 5 Replies View Related

General :: Call Putty / Plink To Start A Remote SSH Linux Script With User Input

Jun 27, 2011

Seemingly simple question, which yields slightly undesired results. Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :-
Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> Problem) Ok, so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Problem) (a) Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!

So ideally, I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 1 Replies View Related

Ubuntu :: Start Daemon On Login?

Aug 11, 2011

I'm creating a script that I want to run every time any user logs in (not only on the GUI, but also via SSH or via text terminal). The script will check if a daemon program is running (one per user or per session, haven't decided yet) and, if it isn't, will start it. I want this to be system-wide, not per-user. I thought about using /etc/profile (or creating a file in /etc/profile.d/) for CLI logins and /etc/X11/Xsession (same remark, Xsession.d) for GUI logins. My problem is that if the user uses a non-Bourne shell (e.g. TCSH) this won't work. Is there any initialization script that is run no matter what shell the user has?

View 2 Replies View Related

Hardware :: Bluetooth Daemon Will Not Start?

Jan 22, 2010

I cannot get the bluetooth daemon on my laptop to start - it is not running by default and running

Code:
sudo /etc/init.d/bluetooth start
does nothing.

View 4 Replies View Related

Fedora :: Run Transmission-daemon As A Different User?

May 5, 2011

i installed transmission on my fedora14 VPS for headless usage by "yum install transmission transmission-daemon", problem comes when i try to configure the init.d Scrip for transmission-daemon to run as a different user instead of the pre-specified user �transmission�,how should i modify the default transmission-daemon file bellow?

Code:
#!/bin/bash
#

[code]....

View 4 Replies View Related

Debian Installation :: TeamViewer Daemon Won't Start

Sep 22, 2014

I am overseas at the moment, and the wife has been having issues with my machine. After many hours of trying to to talk her through doing things, one of my geeks suggested installing Teamviewer and doing it myself.

I have SSH and WinSCP from work. I am using amd64 so the first attempt to install failed due to unmet dependencies. Then I read the MultiArch bit, installed ai32-libs and the install seemed to work. When my wife tried to start TV, it stated that the daemon was not running. When I try to restart the daemon, I get this.....

Code: Select allroot@Champs-Desktop:/home/champs#  teamviewer --daemon restart

/etc/init.d/teamviewerd restart
Stopping teamviewerd... not running

Starting teamviewerd...method return sender=org.freedesktop.DBus -> dest=:1.242 reply_serial=2
   uint32 2

View 4 Replies View Related

Fedora :: Pulseaudio Daemon Failed To Start?

Nov 24, 2009

I've been trying to get my internal microphone to work in F12, and as part of the things I've tried I had the seemingly bad idea of reinstalling pulseaudio. The problem now is that pulseaudio fails to start... The following is from /var/log/messages, and is repeated several times:Code:Nov 24 08:51:20 localhost pulseaudio[6300]: main.c: Daemon startup without any loaded modules, refusing to work.

View 9 Replies View Related

Fedora :: Abrt Daemon Failed To Start?

Jan 7, 2010

I have fedora 12 32 bits installed on a Macbook pro (intel core duo) I did "yum update" this morning, I have restarted the system and got the following message:Starting abrt daemon: abrtd: Failed to start: got sig 2 FAILEDI have browsed in the web but I cannot find useful information. Then I typed:$rpm -qa | grep abrt

abrt-libs-1.0.0-1.fc12.i686
abrt-libs-1.0.3-1.fc12.i686
abrt-addon-kerneloops-1.0.3-1.fc12.i686

[code]...

View 2 Replies View Related

Fedora :: F12 - MySQL Daemon Failed To Start

Jan 25, 2010

I using Fedora 12. When I am going to start MySQL server then error is come

MySQL Daemon failed to start.
Starting MySQL: [FAILED]
MySQL Details :
mysql-5.1.42-2.fc12.i686

View 7 Replies View Related

Debian :: Disable Snort Daemon At Start Up?

Oct 5, 2010

Code:
test@denial:~# ps -e | grep snort
18470 ? 00:00:00 snort

how do i disable snort daemon at start up? i only want it to be running when i want it to be running.

View 7 Replies View Related

Software :: Can't Mount An Image-because Can't Start Daemon

Oct 18, 2010

I recently built the following items of cdemu from the svn repository: libmirage, vhba-module, the daemon, and the client. I have the library installed, the kernel module loading on boot-up of my system, but aside from that, I can't seem to figure out how to use the client.

I have tried manually starting the daemon a couple of times, but can never get past that part. I can't remember the exact error offhand (away from home comp right now) but it was something to the effect of not being able to create the virtual device "0" in /dev.

What is the proper way to start the cdemu daemon?

View 1 Replies View Related

Software :: Unable To Start Nessus Daemon

Sep 22, 2010

I have a backtrack distro on a usb stick. I wish to do the following :-
(a) Partition the usb stick to have a ext3 filesystem, so that the instln may be persistent for the changes. But the fdisk utility creates partitions as dev/sdb1p1 and /dev/sdb1p2. These however, could not be accessed by mkfs utility. How to overcome this problem.
(b) Next , I downloaded the nessus .lzm file and put it in the /base/module dir. But unable to start the nessus daemon. It suggests an error regarding unable to create /opt/nessus and /etc/nessus/nessusd.conf. I think starting nessus as root would help but the problem persists!

View 1 Replies View Related

CentOS 5 Server :: Can't Start Mysql Daemon

Jul 26, 2011

I'm trying to install ispCP and i need to start mysqld but it won't seem to start. I'm somewhat of a nooblet to linux (have a year of VPS 'experience', but nothing too fance) so bear with me.

When i run "service mysqld start" it fails with the error: "MySQL Daemon failed to start."

I ran: "tail -n 30 /var/log/mysqld.log" and this is the output;

[root@dragon575 mysql]# tail -n 30 /var/log/mysqld.log
110726 16:03:10 InnoDB: Completed initialization of buffer pool
110726 16:03:10 InnoDB: highest supported file format is Barracuda.
110726 16:03:10 InnoDB: 1.1.8 started; log sequence number 1588761
110726 16:03:10 [ERROR] Aborting

[Code].....

View 7 Replies View Related

Fedora Servers :: DHCPD Daemon Failed To Start

Mar 5, 2009

I just got the problem while starting the dhcp daemon. Its showing failed. I need to start it for my clients to be autoinstalled. I am having CentOS 5.2 linux. I've installed all optional packages also while installing CentOS. How to start the dhcp daemon? I've tried the /etc/init.d/dhcpd start also. But it didnt work. Showing Failed.

View 1 Replies View Related

Fedora Servers :: MySQL Daemon Failed To Start?

Apr 17, 2011

I am not able to start mysql server...when i type command sevice mysqld start it saysMySQL Daemon failed to start.Starting mysqld: [FAILED]so how to solve this problem ?

View 10 Replies View Related

Ubuntu Networking :: Avahi-daemon Won't Start Automatically Sometimes?

Jan 25, 2010

Since I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?

View 1 Replies View Related

Ubuntu :: Get MySQL Daemon To Start When The Machine Starts Up?

Mar 17, 2010

I'm trying to get mySQL Daemon to start when the machine starts up (and it requires root privileges to run). The command to startup would be

Code:
sudo /etc/init.d/mysql start however that would prompt for a password, and that would not be very well possible now would it? Now, if i try to start it up without being root, it will not start. So this is my problem, maybe someone out there would know a bit more about this than me.

View 5 Replies View Related

Ubuntu Servers :: Start Dropbox Daemon At Boot On 10.04?

Dec 19, 2010

I am having some trouble making the dropbox daemon start at boot. I followed these instructions -> [URL], which are basically a replica of the original instructions from the Dropbox Wiki [URL]. The installation went fine, except that the machine still cannot start the daemon at boot. I tried to modify the init.d script a bit (see the attachment), but it still wont work (I am not sure if my changes made any significant difference, though). The daemon will only start if I invoke it manually after login with the command:

Code:

[user@machine:~]$ service dropbox start

Which executes the daemon just fine. I also tried adding this line of code to crontab:

Code:

@reboot /etc/init.d/dropbox start

This command starts the daemon if I check with the command "service dropbox status", but if I execute the official dropbox CLI command:

Code:

~/bin/dropbox.py status

it says that Dropbox isn't running and I still have to execute it manually.

P.s.: The machine runs Ubuntu Server 10.04, with all the latest system patches and updates.

View 3 Replies View Related

CentOS 5 Hardware :: HAL Daemon Fails To Start / Reason Of This?

May 6, 2009

When I reboot my laptop compaq nc4400, HAL daemon fails to start.

what should I do?

Is this the reason why there's No Network devices available on my top right hand corner of my machine?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved