Debian :: Start Services After Installation?

Feb 9, 2011

When installing a package that runs a service why is that service started? Surely, this flies in the face of convention and security.

View 14 Replies


ADVERTISEMENT

Debian Installation :: Upgrade Etch To Lenny: No Version Bump, Auto-start Services?

Feb 24, 2010

On my debian web server I curently have ImageMagick 6.3.7 08/07/09 Q16 since this is an old version of imagemagick i wanted to upgrade my system that still runs etch, and afterwards upgrade imagemagick. I can not see what version the current lenny imagemagick package has, but I assume it is newer then 6.3.7, no?

When i ugraded I found out that my apt-sources used stable rather than etch. So I already had a mix of lenny and etch I suppose. I then had > cat /etc/debian_version 4.0 Before I upgraded I changed my apt sources from stable to etch, updated the package-tools and did a dist-upgrade (for details, I followed these instructions). After restarting I have still 4.0 as debian version. Also uname -r is 2.6.17. How can I do a correct update?.

Also my services were not started (ftp,ssh, apache2), so I asked my hoster to start the ssh service. This morning everything was up again, but it seems like nobody there have had a look at this. How do I absolutely ensure that my ssh service is start at boot. It is a remote webserver, so I need at least this service to be running.

View 2 Replies View Related

Debian :: Start Services Without Root?

Feb 22, 2010

I've a little Server and wanna start the services (postfix, apache, etc.) without root. My problem is, that I've installed GroupOffice and I allways got errors about permisions in some folder. When I took a look, some of the folder the apache created were from root some from www-data. After some searches in the Internet I've read that only the root user is allowed to start a Service at Ports 1-1024 or something like that...

I've already searched for programs which give the rights to the applications / unlocks them with root for a certain application ... but I've no more idea what words to search for.

Where is that **itt implemented? Is it possible to disable that?

How can I start the services without giving them root privileges?! It's a security issue after all.

View 5 Replies View Related

Debian :: Delay Mediatomb Services Start

Mar 4, 2015

I have moved from a raspberry pi to an olimex LIME A20. I have managed to get everything working correctly except mediatomb. I have a USB drive attached, I believe that mediatomb is trying to read the drive before it's mounted leaving me with an empty database.

After boot I can create the mediatomb database which works until I reboot the computer. What can I try to delay the mediatomb services start?

View 1 Replies View Related

General :: Couldn't Start Mysql Services On Debian Lenny?

Oct 12, 2010

i'm new to Debian os and currently want to install php5 apache2 and mysql 5.1. But ive got problem to start the mysql services.The error on command prompt as belows:

[Code]...

View 9 Replies View Related

Ubuntu Installation :: Several Services Don't Start At Boot?

Jan 29, 2010

I'm having some strange problems in my system (Ubuntu 9.10 32 bits). Several services (Cups, MySQL, VirtualBox kernel driver, etc) aren't starting during boot time. It's possible start them manually (e.g. /etc/init.d/cups start). The other problem is that my virtual terminals (ctrl + alt + f[1-6]) aren't starting with the system too

View 9 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Debian Installation :: Suspend / Resume / Restore Services Under Systemd On Jessie

May 11, 2015

Fixing my chronic suspend/resume problems turned out to be easier under systemd, but like everything else lacks documentation.

To suspend rather than power off when pressing the power button, I edited /etc/systemd/login.conf

uncommenting this line and changing it to suspend:
HandlePowerKey=suspend

and uncommenting the line
HandleLidSwitch=suspend

Some services were lost on resume. This problem seems common. To run a command on resume, I believe you have to make your own script, and create a systemd file to run it.

My script is /home/james/.bin/james-resume.service, which contains:

#! /bin/sh
/sbin/hdparm -B 255 /dev/sda

This must be executable. Ownership doesn't seem to matter.

To run it, I made a file in /etc/systemd/systen/suspend.target.wants
The file name must match the script name:
/etc/systemd/system/suspend.target.wants/james-resume.service

This contains:

[Unit]
Description=Run James jobs at resume
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target

[Service]
ExecStart=/bin/bash /home/james/.bin/james-resume.service
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target

Ownership must be root.root. Apparently it doesn't need to be executable.

Then enable with:
sudo systemctl enable james-resume.service

and check with:
sudo systemctl status james-resume.service

If it says the service is loaded, it's OK -- inactive only means it's done running.

View 7 Replies View Related

Ubuntu :: None Of The Services Start?

Feb 9, 2010

I am running ubuntu 9.10 with the latest patches and all the prerelase patches. At some point and i am not sure when something broke and none off the services start during the boot. Also the virtual consoles do not start. The only services that start are the one that are controlled by the gnome session. In addition i cannot start the rescue mode. It stops loading at same point where the console should show up. I am guessing that the problem is related to the upstart but i am not sure. I never ever had problems with boot in linux and this is very frustrating. I feel like i am running windows and dont know how to troubleshoot. I cannot see anything in the log that would give me a hint? I dont know where too look. I tried to activate the bootlogd but it does not work. Probably beacause the services dont start correctly. Something broke and one of the updates must changed something but i dont know what and where? Anyone can recommend where to look? How do i see the interactive boot? I tried remove the splash and quiet from grub config but i could not see anything there. I got too fast to the x login.

View 9 Replies View Related

Fedora Servers :: Start Services Before Login?

May 30, 2009

I can view my website, and ssh in when I've logged in already at home, but if the system gets rebooted, and gets as far as the login screen, I am not able to view the web site or ssh in. I was wondering how to set things up so thatthese services are running independent of logging in.

View 14 Replies View Related

Ubuntu :: Standard Services Do Not Start At Boot?

Feb 17, 2010

I've been running Ubuntu 9.10 since November '09, and since a month or so I'm having boot problems. Gnome starts, but some core services such as ssh and dnsmasq (that have started on boot somewhere in time), don't start anymore. Neither does rc.local fire, so I basically have to startup these things by hand.

Also, I cannot get into the console anymore by using ctrl+alt+f*, because it gives a message like: Starting ntpd or starting libgcrypt 1.4.4, or something in that fashion.

My belief is that something is holding the boot procedure in a waiting state before services such as ssh get to start, but I can't seem to find anything in the log files.

View 3 Replies View Related

Ubuntu :: Can't Find App To Stop And Start Services

Jun 27, 2010

I thought it was in the System>administration menu somewhere, but I just can't see it. What is it called, and where do I find it please?

View 9 Replies View Related

Red Hat / Fedora :: Services Start Then Stop After Few Minutes

May 7, 2009

I have several services set to start in init 3 on a cloud provider. The init scripts appear to be in the correct folder but the services are never started after a reboot. I finally watched the console and all the services start correctly then shutdown after a few moments.

View 9 Replies View Related

Slackware :: Securely Start Non-root Services?

Jun 19, 2011

I run Slackware 13.1 on a small Pentium 4 box that runs a torrent client, game server, and a few more Internet-related scripts.

I see no point running these stuff with root priviledges, so I have this line in rc.local:

Code:
su user -c "/home/user/services/start-all.sh"

How secure is that command, su user -c? And what would be the right way to go with it?

View 8 Replies View Related

SUSE / Novell :: Services Do Not Start At Boot On 11.2

Feb 23, 2010

After upgrade of 11.1 to 11.2 I noticed that most of the services that was started in 11.1 at boot are starting now in 11.2. I check run-level of services with

Code:
chkconfig --list

And everything is as like was before the upgrade. When I start services manually everything is OK, but on restart they do not starting.

Code:
cat /var/log/YaST2/y2logmkinitrd
Kernel image: /boot/vmlinuz-2.6.31.5-0.1-default
Initrd image: /boot/initrd-2.6.31.5-0.1-default
Root device: /dev/sda7 (mounted on / as ext3) .....

View 2 Replies View Related

Fedora :: Services (Haproxy And Stunnel) Failing To Start

Dec 3, 2009

I have 2 services registered one for HAProxy and one for stunnel. When I type service start haproxy or service start stunnel they start and everything works fine. I ran ntsysv and they are set as autostart, and I have init.d scripts that work. I have checked the runlevel and using chkconfig runlevel 3, 4 and 5 are :on. And I also added service haproxy start and service stunnel start to inittab. But when I restart the computer haproxy and stunnel fail to autostart. I am a fedora novice and I have no idea why this isn't working...

View 4 Replies View Related

Fedora X86/64bit :: Services Fail To Start Continuously

Aug 22, 2010

I have installed fedora 13 , 86_64. and was working fine until now. The problem was that JEXEC service Froze while booting. So I removed it /etc/init.d. The next time when I booted ATD service Froze, so I removed it by the same way. Next it was the turn of CROND followed by KSM , KSMTUNED. Then came ABRT-DAEMON which I had to type a #yum erase abrt* command. Finally it came to the turn of SM-CLIENT. I don't know where it is or what it is. Didn't find quality posts on the internet. What the heck should I do and I dont want to do a reinstall.

View 14 Replies View Related

OpenSUSE :: Ifolder: Error: Cannot Start The Local Web Services

Jul 5, 2011

I'm trying to use Ifolder but after the splash screen, I got this error message:

Code:
Error: Cannot start the local web services.
Error: The Simias process failed to initialize.
Use the command line switch --showconsole to view the error.

[Code]....

View 5 Replies View Related

General :: Boot - Controlling When Services Start In Fedora 14

Nov 7, 2010

Whenever I start up my laptop running Fedora 14, I notice that it says that it is failing to connect to my default wireless network since the wireless card is not activated. Since it appears that the wireless card is not activated until the NetworkManager service is started, is there anyway for me to set NetworkManager to start before this check is made? Boot message log is attached. [URL]

View 1 Replies View Related

Ubuntu :: 10.04 Correct Way To Start Stop Disable Services?

Aug 25, 2010

With the advent of Ubuntu 10.04 Lucid Lynx LTS People are migrating servers to the latest LTS. One fundamental thing that has changed is the move to Upstart. In the old days to stop multidaemon service such as Samba, one would simply type /etc/init.d/samba stop and to disable it from starting on boot one would simply type update-rcd samba disable.

Now its the year 2010 and in 10.04 it seems on has to edit a bunch of files, etc. Is there not an easy tool to correctly and properly disable services on startup in 10.04 consistently? in Redhat/Mandrake 10 years ago it was simply

Code:
service smb off
In Ubuntu 10.04 its
1) edit /etc/init/smbd.conf and modify the line that says
Code:
stop on runlevel [!2345]
and change it to

[Code]...

And one has to remember all these changes when the get ready to enable the samba service in the future? This can't be right.I know I must be missing something here. or maybe overlooked something in the upstart documentation.Which seems quite sparse by the way. So the question remains. How does one simply disable a multidaemon service starting on boot such as samba. Any tool to do this ? Is the above the correct method recommended by Canonical to disable services? and enable them?

View 2 Replies View Related

Ubuntu :: Method To Start / Stop Services Under Upstart

Jan 22, 2011

I installed MySQL and Apache2 to develop & test out the site I'm writing. However since I'll be using them purely for internal use (not exposed to the Net), I don't want them to start with every boot-up, but would like to start them manually when I desire, and stop them after use.With previous Ubuntu (Jaunty) I'd used chkconfig to configure services, but since the current version (Maverick) uses Upstart, is chkconfig still applicable?

I also installed 'bum' (Boot-Up Manager), but strangely, it displays the MySQL server as "unchecked" even though it's running (and starts at boot-up), so I cant see how I can prevent it from starting at boot-up through bum. chkconfig also displays MySQL as not active at runlevel 5, when in fact, it is.

I'd like to know what's the recommended (official) way to configure boot-up services with the Upstart system? I don't suppose directly editing the *.conf files in /etc/init is the best (or even correct) way?

View 3 Replies View Related

General :: Change The Start-up Sequence Of Services On SLES10/11?

Mar 2, 2010

I want to change the start-up sequence of services on SLES10/11.

I have my own start-up scripts for some services and I want them to start in a particular order(not in alphabetical order)

View 2 Replies View Related

Server :: Start Services Without User Login - Centos 5.5?

Oct 4, 2010

I installed Centos 5.5 on a home PC to be used remotely.

All server daemons work fine but only start if the user is logged in.

How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.

Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?

View 1 Replies View Related

Software ::vmware In Ubuntu 10.04 - Unable To Start Services ?

Sep 30, 2010

I am trying to get vmware to work in ubuntu 10.04(x64) and it just doesn't seem to work. I've made it work in debian(x64) before with the same installer but here I get errors.

installation seems to go fine with the installation script: VMware-Workstation-Full-7.0.0-203739.x86_64

But when I start it for the first time I get the message before you can run VMware, several modules must be compiled and loaded into the running kernel. and then I can press Cancel or _Install (yes with the underscore) when I press _Install it first stops the VMware Services and then says:

compiling:
-virtual machine monitor(successful)
-virtual network devide(error)
-vmware blocking filesystem(successful)
-virtual machine communication interface(error)
-vmci sockets(error)
after that it says:
Unable to start services.

See log file /tmp/vmware-root/setup-29088.log for details.

The log file:

Code:

View 3 Replies View Related

Fedora :: PC Boots And Start Running The Services The Screen Just Hangs?

Jun 10, 2011

Last time I installed the ATI graphics driver on my PC, it was'nt working fine so I uninstalled that driver. I restarted the PC after uninstalling the driver but then, when PC boots and start running the services the screen just hangs and I don't get into the desktop.

I tried to run the xfs service using service xfs restart and also gdm service using service gdm restart, but in both the cases it shows that Unrecognized Service. So, I think it means that the package for xfs and gdm service is not available in my PC. Is that so?

I tried to get into the desktop by running startx but it gave the following error :-

Fatal Server Error: no screen found

consult the fedora project support at [URL] for help.

check the log file at "/var/log/Xorg.0.log" for additional information.

giving up

xinit: connection refused (errno 111): unable to connect to X server
xinit: no such process (errno 3): server error.

View 1 Replies View Related

Ubuntu :: Virtual Network Device - Unable To Start Services

Jun 15, 2010

Just upgraded fro 9.10 to 10.04, and went to start VMware player. It needed to load and compile some modules.

All of them got a nice green tick except the Virtual Network Device

Unable to start services. See log file /tmp/vmware-root/setup-2986.log for details.

I cant access that log file. Set the folder to read only, and any contents, but theres no file in there.

How do I solve this so I can run WMware?

View 3 Replies View Related

Red Hat / Fedora :: Restart / Start / Stop All Services At The Same Time Without Rebooting?

Jan 7, 2010

is it possible to restart /start/stop all services at the same time without rebooting?

View 3 Replies View Related

General :: Start X Server And App At Boot (or Services Load) Time

Oct 14, 2009

I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.

With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].

How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.

View 5 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

CentOS 5 :: Solution Cluster Fail To Start Virtual Services After Upgrade To 5.5?

May 16, 2010

After upgrading Centos 5.4 cluster nodes to 5.5 all virtual services failed to start. All virtual services are marked as 'failed'. The reason: new /usr/share/cluster/vm.sh requires 'which', but this is not reflected in rgmanager-2.0.52-6.el5.centos.

Solution: run 'yum -y install which' on all nodes, and reboot cluster. Hope that will save somebody hours of downtime.

View 1 Replies View Related







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