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


ADVERTISEMENT

CentOS 5 Server :: Start Nfs Services And Get Error "Starting NFS Daemon: [FAILED]"

Aug 29, 2011

When I want to start nfs services ,I get this error, Starting NFS daemon: [FAILED]

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

Server :: Acer Aspire Easystore H340 - How Does It Start Without A User Doing A Login

Mar 6, 2011

I have an H340 Home Server, and I really want to eliminate any Windows on it.Having read what people have written here, I installed Ubuntu Server 10.10 on an empty drive via an existing machine. Then I removed the supplied 1 TB drive with Windows Server on it from the H340, inserted the new Ubuntu server drive.Now I can power up the machine, the lights come on, the network light flickers with activity, and...

Well, I am at a bit of a loss at what to "do" now. The H340 is connected to a router, just like my existing machine, so it gets an IP address from the DHCP server in the router. How do I actually connect to the H340? I really don't know. Do I go "Places->Network"? or "Places->Connect to Server"? Or do I do a remote desktop connection?

When it is powered up, how does it start without a user doing a login? There is no keyboard, screen, etc. Only the network cable. I have simply never had to deal with a Server before, so I need some hand-holding for a while. I have Ubuntu 10.10 desktop and Windows 7 dual boot.

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

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

CentOS 5 Server :: Start X At Startup Without Running Login Screen?

Jan 12, 2011

I am setting up a CentOS server that has no screen connected, and only has 2 Tesla cards. I have created a minimal xorg.conf and xinitrc file that doesn't load mouse or keyboard, and only creates two screens, one for each card at 320x200x24 bit. This is so I don't waste VRAM on a framebuffer I can't see.

I modified the xinitrc to just load tdm and nothing else as GNOME is a RAM hog. I am then using this setup to render stuff offscreen using OpenGL into FBOs which I read back to CPU and process. Currently for development I just run startx& when I login. I now want to know how to set x server to start automatically at boot. The CentOS docs say that it will try to load the GNOME login manager. The thing is that I don't want a login manager as it is useless as I login remotely via SSH.So:

1 - how to enable automatic x server in CentOS (im used to Ubuntu so not sure how to do this on Red Hat variants)

2 - leave x server running without starting login manager

View 8 Replies View Related

CentOS 5 Server :: Login As Postgres User And Enter Commands?

Sep 10, 2010

I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.

Postgresql will not start now.

"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.

"su - postgres" = "no file or directory"

In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash

how i can login as postgres user and enter these commands?

View 2 Replies View Related

CentOS 5 Server :: Writing Init Script For Wrapper - Start As Root Run By User

Nov 27, 2009

I have installed the Apache Directory Server (ApacheDS) Now I need a iniscript that startining the App as Root, so that it can use the Port 389. After them a unprivileged User (apachds) should run the Service. The same solution I am searching for Glassfish. What can I use for them? RHEL and compatibles doesn't have a start-stop-daemon like Debian.

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

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

SUSE :: Can't Start Nfs Server - "Not Starting NFS Client Services - No NFS Found In /etc/fstab/

Sep 13, 2010

I cant start Nfs services. When I type the comman /etc/init.d nfs start I get "Not starting NFS client services - no NFS found in /etc/fstab/. I used yast to install nfs server already

View 9 Replies View Related

CentOS 5 Networking :: Restrict User "admin" To Login To The Server From A Specific IP Address?

Jun 9, 2009

i am using openssh 5.2-p1, i want to restrict user "admin" to login to the server from a specific IP address, for this purpose i have tried the following blocks in sshd_config file.Following is the part of the sshd_config file which i have modified

#The following commands will only allow specific IP to login to ssh.

#AllowUsers admin user1 user2

#AllowGroups

# override default of no subsystems.Subsystem sftp internal-sftp

Match Group sftpgroup
ChrootDirectory /home
AllowTCPForwarding no[code].....

i want to restrict admin user to login to the server only from 172.16.100.221 IP which can be done by using AllowUser line, but i dont want to use AllowUser line,

View 1 Replies View Related

CentOS 5 Server :: Cannot Run Samba - Not Listed In Services

Oct 16, 2009

I 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

View 2 Replies View Related

CentOS 5 Server :: Integration Services Hyper-V (Error 2)

Nov 4, 2010

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].

View 1 Replies View Related

CentOS 5 Server :: Disable Unwanted Services In Other Than Squid?

Mar 5, 2011

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 Related

Fedora :: Start A Service On User Login To Gnome

Oct 15, 2009

Does anyone know a secure method for starting a service after a user logs in to the desktop environment? There are a couple of issues that I'm trying to work around / troubleshoot and this would assist with doing that.

I'm running Fedora 11, not sure if that matters for this question.

View 14 Replies View Related

Software :: Start X On Boot Under A User Login On Ubuntu - No Gdm - Kdm Or Xdm

Jul 16, 2010

I'm trying to get rid of gnome as much as possible since I consider it bloated. I have everything according to my taste but when I boot I need to start x by hand (through xinit) and I would like it to start automatically.

So I created a script in /etc/init.d/ to do that. If I just execute xinit on the script it runs X as root (we all know that's highly not recommended), so I tried su - username -c "xinit" to no avail. However if I start another program, say rtorrent, like that (replacing xinit with rtorrent) it works perfectly.

What do I need to do start X under a username on login? I don't want a login manager just to do something which I am so close to do.

View 2 Replies View Related

CentOS 5 Server :: Connect With SMTP / IMAP And POP3 Using Email Services?

Oct 2, 2010

Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only. I had follow this how-to [URL] and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works. I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, I install VM player on it and run CentOS inside the VM Player.

I want to do testing on Windows 7 side by installing Thunderbird email client program, I want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How? Do I have to do any other configuration on CentOS? Any DNS? Port number for IMAP, POP3 or SMTP?

View 1 Replies View Related

CentOS 5 Server :: Show All Services Running / Installed In The Command Line?

May 6, 2011

Howto show all services running/installed in the command line under Centos 5.6 Server?

View 6 Replies View Related

Ubuntu :: 10.10 - Unable To Login Or Start Session With Any User Account

Sep 1, 2011

Recently I deleted files from my root/share folder in an attempt to remove a program which had made the system virtually unusable. Upon reboot of the system I accessed the partition I had just edited and I found that I was unable to login using the login manager, every time I hit login it just returns me to the same screen displaying the message: unable to start session.

View 3 Replies View Related

CentOS 5 Server :: LDAP Client - Nss_ldap: - Authenticate SSH And Sudo And Not Services Like Httpd - Nrpe - Xinetd

Aug 9, 2011

When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.

View 2 Replies View Related

CentOS 5 :: Flash Does Not Start In Root But Does For User?

Aug 22, 2009

As root, firefox shows that no plugins are installed - does not see flash-plug. For the other user the flash-plugin is there however it only load for the first instance and then will only start again if I reload the page.

Yes I am new to Linux - I have just installed Centos 5.3 and via yum install adobe flash-plugin - lots of searching on the web to get this far.

View 3 Replies View Related

General :: Terminal Command / Centos Server Starts Mysqld, Httpd And Ftpd Services At Boot Time Automatically?

Dec 27, 2010

Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?

View 2 Replies View Related

CentOS 5 Server :: DHCPD Doesn't Start - How To Make It Start

Sep 2, 2010

I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !

DHCPD.CONF
ddns-update-style interim;
ignore client-updates;

[code].....

View 3 Replies View Related

CentOS 5 Server :: Reboot The Server With Centos 5.5 The SMB Deamon Doesn't Start?

Feb 22, 2011

when I reboot the server with centos 5.5 the SMB deamon doesn't start?

View 2 Replies View Related

CentOS 5 :: Granting R / W Permissions Of Devices To End User At Login?

May 27, 2009

I have a minor issue with permissions. There are a couple of devices that I need r/w access to in /dev. Whenever I first boot up and log in as end user (not root) and I need to access the devices permission is denied. Logging in as root there's no problem accessing these devices. However as an end user every time I need the devices I have to first su to root to change R/W permissions (chmod 666).

Now, the good thing is that the permissions stick even as I logout and then log back in, but as soon as I reboot my computer (every night) I have to go and chmod manually. I'm trying to find a way to avoid having to su and chmod manually but I'm not having much luck. The devices I am trying to access are /dev/ttyS1 and /dev/windrvr6, when I first boot up and login as end user the permissions look as follows:

crw-rw---- 1 root uucp 4, 65 May 27 04:11 /dev/ttyS1
crw-r--r-- 1 root root 253, 0 May 27 09:12 /dev/windrvr6

View 3 Replies View Related

CentOS 5 :: Unable To Login To The Console With The New User Created

Feb 25, 2011

I had successfully installed centOS,i am able to login as root.I created local users.But unable to login via console and FTP.As per the logs there were some LDAP issue,so i disabled LDAP and disabled PAM config as well.Now i am able to login to the FTP with the local users created.unable to login to the centOS console with the local user.

View 2 Replies View Related

CentOS 5 :: Black Screen Coming Up After Login Using One User

Apr 12, 2011

When I login to my machine I can see a BLACK screen and my mouse pointer. This is not happening with other users.Few days ago when I tried login to my machine I noticed this. I can access ssh session and do stuff there but some time I need GUI.I can login fine using other users. This is only happening with one specific user.I have just noticed that if I try loggin with the same user which have issues using NX client it shows us a BLACK screen, then if I open xwin then I can see three new windows top panel, bottom panel and Desktop.

View 12 Replies View Related

CentOS 5 :: Gnome-login Configuration - Restore User Profile?

Nov 20, 2009

Last night I started my computer and loaded my CentOS 5.2 partition (Windows 7 on the other partition). I was able to login to my account, but was given a gnome error that the panel buttons (i.e. weather, cpu monitor etc) could not be loaded. I then went to restart the computer (probably not the smartest thing to do) and was given some file errors upon shutdown that were related to /dev/VolGroup00/LogVol00. After restart I was taken to a shell and ran fsck manually. It seemed to find a lot of bad blocks, so I repaired the /dev/VolGroup00 system and restarted. At this point CentOS seemed to boot normally, but upon loading of the login screen I get the error: Configuration not correct The configuration file contains an invalid command line for the login dialog, so running the default command. Please fix your configuration.

I cannot even log in as root. I get the error /usr/bin/gnome-session: error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared objects file: no such file or directory. I then went to a shell and ran: sudo yum install libgnome-desktop-2.so.2, but the package was already installed and up to date, so there was nothing to do. I am therefore stuck at this login screen with pull-down menus and tabs where I can change the configuration, add/remove users etc. So, my question is this: How do I restore my user profile so I can login....and if anyone has some insight, what caused this to happen in the first place? I should also mention, this all happened after plugging the computer into a new internet connection. No clue if that's even relevant.

View 11 Replies View Related







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