Server :: Order Of Init Services
May 5, 2011How can I find the order of stated services in boot process? For example I want to check which one runs first: /etc/fstab or networking? I am using ubuntu server 10.04
View 7 RepliesHow can I find the order of stated services in boot process? For example I want to check which one runs first: /etc/fstab or networking? I am using ubuntu server 10.04
View 7 RepliesI haven't been active in Debian for two years back when Lenny was still in 'testing' and noticed that for some reason it is no longer protocol to restart network services using the 'init.d' scripts. I also noticed the same for Ubuntu (which I don't use or could care about) and am trying to understand what is the correct way now for Debian and what changed? I did a search on Google but didn't turn up any results. Is it no longer correct to run:
Code:
/etc/init.d/network restart
My setup: Debian Squeeze;4 physical partitions, 3 of those create 1 volume group, 13 logical volumes within that vg; 1 unencrypted(boot); all others encrypted including swap.As stated in the man crypttab:The order of records in crypttab is important because the init scripts sequentially iterate through crypttab doing their thing.
View 2 Replies View RelatedI installed an LAMP Server on 10.10. Additionally a simple Sambaserver and a VPN is integrated. Since 3 days I look at some strange behaviour:
Code: sudo init 6 does not take effect. Nothing happens. Code: sudo reboot is working, but all seems to be so ropy. It takes a significant while, before ssh-session is finally terminated. After the system comes up again, the vpn-client gets not the same IP-address by DHCP-server, but the next following of dhcp-range. That is strange, because no other dhcp-client is busy. After a second reboot I get the correct first IP-address of the dhcp-range. That is reproducible.
cron is not working any more. None of my jobs is being triggered. Nothing is logged in /var/log/syslog any more. Services (apache2, mysql, smbd) are not running at the start. I have to run them up manually. Seems like init is somehow smashed? What is your guess? What futher information do I have to provide for analysis?
me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.
View 3 Replies View RelatedI've got an Ubuntu Server 10.10 with Bacula. Bacula is not using Upstart at boot time, it is started using legacy init.d scripts. MySQL on the other hand uses Upstart. This causes MySQL to start after Bacula, thus preventing Bacula director from connecting to the MySQL database - causing an error.I've tried to change the order of the init.d scripts in /etc/rc2.d, giving mysql the prefix S20 and bacula prefixes ranging from S90-S93, but to no avail. The bacula scripts are still loading before MySQL. how to configure the order of boot scripts when using both Upstart and legacy init.d scripts?
View 1 Replies View RelatedSo I want to get mount/umount option under right click services menu. I went to Dolphin -> Settings -> Configure Dolphin -> Services -> Download New Services and from there I installed KDE CDEmu Emulator and MountISO. But neither of them is showing up in actual context menu. Neither in Dolphin -> Settings -> Configure Dolphin -> Services for that matter. I tried to install them as normal user and as a root. I went to have a peak in /usr/share/kde4/services/ServiceMenus/ but they aren't there as well... It's just me or lots of things seems to be not quite working in 11.3?
View 9 Replies View RelatedHow can Vsftpd services & Xinetd.d services can be differentiated?
View 5 Replies View RelatedI've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.
This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.
I decided to reboot, but then encountered an even bigger problem.
It failed to boot and got this message: no init found. try passing init= bootarg
The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.
Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:
mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory
[code]....
I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.
I just installed the ventrilo server daemon on CentOS 5.3 and I'm having 2 issues with the init.d script I wrote. Issue 1: the stop command does not work. I suspect due to an issue with where the daemon puts the pid file. Issue 2: chkconfig says that the "service ventrilo does not support chkconfig". The script is below.
#!/bin/bash
# ventrilo server
# Pull in init.d functions
. /etc/rc.d/init.d/functions
VENPATH=/etc/ventrilo
VENBIN=/usr/bin/ventrilo_srv
[Code]...
in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.
Is the same can be use for the date format YYYYMMDD ?
i have a server which i dont know what was installed on it, it was sent for me to find out.
View 5 Replies View RelatedHow can i find web hosting services? I have my own site and want to web hosting for that.
View 2 Replies View RelatedI have a Linux server and 5 desktops. When I shutdown and restart my server the DNS services gets stopped. I dont want it to stop, when i shutdown. It should run. How to enable it.
View 2 Replies View RelatedWe have our web site hosted by Go daddy and they provide us with the mail service as well. But there are a lot of constraints with the mail service with regards to the number of mail boxes, size per box, relays per user and so on.To avoid this, we are looking at other options. One is to have our own mail server but it will require a lot of infrastructure and expertise. But Amazon web services looks nice. They have infrastructure needed and all. One thing on my mind is the reverse look up of the mail servers. They wont be associated with the domain as both would be on different hostings. I am open to both windows exchange server as well as Linux server. Has anyone done this before or has any idea about it? I have gone through some of the threads in their forum and there are a lot of mixed views about it.And main concern everyone views is the reverse lookup. This could lead to all the mails sent from my server tagged as spam at the recipient end.I could not make out in which forum to write and hence in newbie. If this is enough about networking or server please move it.
View 9 Replies View RelatedI am running a linux VPS with ubuntu 8.04. My VPS provider doesn't have domain services so i have to host my own domain. I am using bind9 and cant "catch or grab or whatever you want to call it", my domain name. I used go daddy to create my domain and I created my own name servers with the ip's I use on my VPS. I have been trying to go at this all week, all i need to do is get my domain running and then my site will be good to go cause I already have everything else running smoothe it seems. any help at all is very appreciated. I dont know what kind of info you need from me so ask whatever you need to. I am going to use a fake domain and ip in on here just to protect myself.Also I have tried many tutorials and have been searching around the net and forums with no luck.
View 3 Replies View RelatedI have tomcat server that requires restart to clear some java issues. I would like the system to send out an email alert that the tomcat got started everytime when it does. Anyway to achieve this whenever someone fires off a service?
View 1 Replies View RelatedI have installed squid using CentOS 5.When the server boot there are default services which are enabled at Boot time. My server is dedicated only for squid proxy server.I want to know how that when my server boot only the relevant services should start which may helpful for squid. Remaining unwanted services should be disable because they are just occupying memory of the server. Kindly guide me which command I should use and which services may I disable for smooth functioning of my squid
View 1 Replies View RelatedI'm using Ldap to authenticate some services in my company, but from a few days, i finds some errors saying
Quote:
I'm using webmin to manage its servces.
I am trying to run two different copies of vsFTPd service in the same server, one for IPv4 and the other one for IPv6. Because as I know that you cant run one vsFTPd server for IPv4 and IPv6 in the same time.
View 10 Replies View RelatedI recently installed CentOS 5.3. There I select desktop package (Gnome and KDE) didn't select server in CentOS 5.3 installation gui. I want to connect to the windows active directory domain in our company. To do this I want to run the samba service. But it is not listed in the services. (#service --status-all) but I cant see the samba config file smb.conf why I cant run this other services smbd, nmbd is also not listed. But winbind is listed and I started it.
[root@bryan-adams etc]# yum list samba
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
* addons: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
Available Packages
samba.i386 3.0.33-3.7.el5_3.1 updates
I can see this phenomenon on 2 different systems running 11.3 .In simple mode and also in expert mode.
View 9 Replies View RelatedToday, I need to talk about some strange problem that faces me in my Linux Server, the power goes down and my server goes off, but when the power returns the server powered on and it works, but some services are not working properly like:
SSH, HTTP
When I try to login remotelt via ssh client like putty it ask me for username but, it hangs after I put my username and not asking me for the password. The second error is related to my web-server which redirect me to Apache default page and when I go for the terminal to make restart for httpd service, here is the output :
> service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu May 20 10:51:15 2010] [error] (EAI 3)Temporary failure in name resolution: Could not resolve host name admin.abakhiet.info -- ignoring!
[Thu May 20 10:53:07 2010] [error] (EAI 3)Temporary failure in name resolution: Could not resolve host name [URL] -- ignoring!
[Thu May 20 10:53:07 2010] [warn] NameVirtualHost 196.202.58.94:0 has no VirtualHosts
[OK]
I joined a company as an IT staff 2 months plus back. I now encounters a problem that the booting up hangs at the time when it is starting domino services. I have no clue where to look at and duno where to start checking. A little description of the server. : It's a lotus notes domino server for employees webmail service. -> Now it is down. it's an external dns server: recently high volumes of query cache denied surfaces. it's also our proxy server. The only way to get it up and running is to turn off domino service. The system is running still with high volumes of queries I last checked.
Althrough it can boot up now and DNS & proxy are running, I couldn't access the system anymore. It will hang when I attempt to log in from the command prompt. Below is an illustration:
iasaix login: root -> I attempt to log in using root user
password: xxxxxxxx -> I keyed in my password
-> The cursor comes down and just keeps blinking and nothing happens.
Remote access is not possible as it has sshd disabled by default. Our employees cannot access their webmail now, which is a major issue.
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've installed CentOS 5.x (64 bit) on a Hyper-V Server R2. When I trying to install integration serices I get an error:
[root@localhost ~]# cd /opt/linux_ic_v21_rtm/
[root@localhost linux_ic_v21_rtm]# make
Building all modules...
make -C /lib/modules/2.6.18-164.el5/build SUBDIRS=/opt/linux_ic_v21_rtm/src modules
make: *** /lib/modules/2.6.18-164.el5/build: No such file or directory. Stop.
make: *** [all] Error 2
I am using:
Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I did everything as it shows on [URL].
I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?
View 1 Replies View RelatedI'm running openSUSE 11.1. When I'm in Gnome or KDE or any Desktop session, the X server keeps running when I do an init 3, (i.e.) I'm still in the GUI instead of going to the console. When I type runlevel it shows that I'm in runlevel 3, but the X server is still running. The X server is not getting killed on an init 3.
View 2 Replies View RelatedI have installed fc12 on my core2due machine, and I have installed the vmware server on it, its rpm is installed successfully with out any error, after that a message is displayed
The installation of VMware Server 2.0.2 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "rpm -e VMware-server".
Before running VMware Server for the first time, you need to configure it for your running kernel by invoking the following command: "/usr/bin/vmware-config.pl".
I tried this command and find the this message
[Akram@localhost Downloads]$ su -c "/usr/bin/vmware-config.pl" Password: Making sure services for VMware Server are stopped.
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] yes
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
Your kernel was built with "gcc" version "4.4.2", while you are trying to use "/usr/bin/gcc" version "4.4.3". This configuration is not recommended and VMware Server may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.4.3" anyway? [no] yes
What is the location of the directory of C header files that match your running kernel?[/usr/src/linux/include]
Now it asks me in last lines that "What is the location of Directory of C header files that match your running kernal?"