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.
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?
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:
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.
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).
After reboot I can start it, no problem here. But if I close root terminal and trying to open it again - it won't open.
If to open it from user terminal, it gives me:
Code: Select allgksu /usr/bin/x-terminal-emulator Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1
The only thing comes to my mind is that right after installation I opened root terminal and:
- kept a tick on "remember password" - put a tick on "save in the keyring".
I guess the last tick is the problem. I installed debian 8.4 in virtualbox and specifically kept the tick where it should be and I can start root terminal many times w/o any problem. How I can fix that?
I do realize that I can get root privileges in terminal. I guess it's more about convenience.
I tried to google it, but no luck. Just to name few:
I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
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.
I have headless debian as a server which i use over tightvnc server running on it. Vnc works fine but I can't for example run sudo mousepad or any other gui app from terminal, it says something about not having the rights to open it as root. I understand this has something to do with security, but my computers are behind nat so the vnc server can only be connected inside my lan so i don't mind.
I have installed release CentOS 5.5 w/ fetchmail services. I've already configured the /.fetchmailrc in the correct format that I've learned from topics and I've checked also the sedmail running status. When I invoke the #fetchmail command this often happens:
fetchmail: WARNING: : Running as root is discouraged. 2 messages for user1 at mx.mailserver.com.ca: (1 of 2) (4353 octets) .....flushed
I have configured two NIC 's One for the public IP and another for the local network, I've tried to use the two IP's in the POP3 and SMTP settings of Mozilla Thunderbird but still user1 can't get messages.
For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.
I am using debian squeeze server with asterisk 1.6 installed and configured.my problem is non root users need to access the server using ssh and restart asterisk server after making changes in asterisk configuration files.As of now i am giving root username/password for this process (i know it is not at all a good idea) .now how can i create a username and configure it which can only access and modify asterisk configuration files and restart asterisk server without any other privileges.
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.
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
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.
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.
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) .....
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...
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.
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.
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]
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?
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?
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?
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.
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.