LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2014, 03:20 AM   #1
akhilesh_03
LQ Newbie
 
Registered: Apr 2014
Posts: 23

Rep: Reputation: Disabled
vFense server Installation


Hi,

I am trying to install vFense server on CentOS 6.5,when I run vFense server initilization script 'initialize_vFense.py' then I get below message..

" Rethink instances.d directory could not be removed
patching file /usr/lib64/python2.6/site-packages/apscheduler/scheduler.py
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file /usr/lib64/python2.6/site-packages/apscheduler/scheduler.py.rej
adduser: unrecognized option '--disabled-password'
Usage: useradd [options] LOGIN

Options:
-b, --base-dir BASE_DIR base directory for the home directory of the
new account
-c, --comment COMMENT GECOS field of the new account
-d, --home-dir HOME_DIR home directory of the new account
-D, --defaults print or change default useradd configuration
-e, --expiredate EXPIRE_DATE expiration date of the new account
-f, --inactive INACTIVE password inactivity period of the new account
-g, --gid GROUP name or ID of the primary group of the new
account
-G, --groups GROUPS list of supplementary groups of the new
account
-h, --help display this help message and exit
-k, --skel SKEL_DIR use this alternative skeleton directory
-K, --key KEY=VALUE override /etc/login.defs defaults
-l, --no-log-init do not add the user to the lastlog and
faillog databases
-m, --create-home create the user's home directory
-M, --no-create-home do not create the user's home directory
-N, --no-user-group do not create a group with the same name as
the user
-o, --non-unique allow to create users with duplicate
(non-unique) UID
-p, --password PASSWORD encrypted password of the new account
-r, --system create a system account
-s, --shell SHELL login shell of the new account
-u, --uid UID user ID of the new account
-U, --user-group create a group with the same name as the user
-Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping

Sleeping until rethink starts
rethinkdb: vFense: Starting instance. (logging to `/var/lib/rethinkdb/vFense/data/log_file')"

Thanks in advace

Thanks
 
Old 05-26-2014, 04:37 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,307
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
adduser: unrecognized option '--disabled-password'
Usage: useradd [options] LOGIN
It looks like it's trying to make a user, a lot of servers and daemons do that however
Quote:
Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping
the S and E in SELinux stand for security enhanced so.... no dice.
The solution from vFense is this.
Quote:
python tp/src/scripts/initialize_vFense.py --dnsname=dns_goes_here --password=password_goes_here
but if you're putting the password for a user capable of loading kernel patches in a plain text file on your machine... why are you worried about security patches? You've got a root like password in plain text?

Last edited by dijetlo; 05-26-2014 at 05:06 PM.
 
Old 05-27-2014, 01:55 AM   #3
akhilesh_03
LQ Newbie
 
Registered: Apr 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Hi dijetlo,

Thanks for your reply.

I have successfully installed vFense server.I am able to access UI from one of my windows machine.
But now I am not able to login to the vFense server.I am providing the same user name and password
that I used at the time of vFense server initialization.

How can I solve this login issue

Thanks
 
Old 05-27-2014, 02:34 AM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,307
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
.I am able to access UI from one of my windows machine.
What message do you get when you try to connect from the Linux box?
 
Old 05-27-2014, 02:40 AM   #5
akhilesh_03
LQ Newbie
 
Registered: Apr 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Hi dijetlo,

I am accessing Linux vFense server from windows machine and getting Web User Interface asking for username and password.
When I give username and password it says "invalid username and/or password"

Thanks
 
Old 05-27-2014, 03:15 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,307
Blog Entries: 2

Rep: Reputation: Disabled
If I understand what your saying is you have a Linux server and a windows client...
Assuming that vFense is is properly configured and running on the Linux server the windows client still must remotely access the machine via ssh most likely. That means it initiate a password authentication sequence with the Linux server. Does the username and psswd exist on the Linux server?

Code:
cat /etc/passwd | grep -i  <the user name you're using on the windows box>
Did you get a result?
 
Old 05-27-2014, 03:31 AM   #7
akhilesh_03
LQ Newbie
 
Registered: Apr 2014
Posts: 23

Original Poster
Rep: Reputation: Disabled
Hi,

Yes that user is in /etc/passwd file,here is the result :

"cat /etc/passwd | grep -i toppatch
toppatch:x:500:500::/home/toppatch:/bin/bash"

Thanks
 
Old 05-27-2014, 04:35 AM   #8
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,307
Blog Entries: 2

Rep: Reputation: Disabled
reset the password on the server to match the one your using from your windows machine. It doesn't matter how certain you are you did it right the first time, at this point we're eliminating possible sources for the error, let's start with the most obvious and work our way down.

if you have a windows ssh client installed, use it to access the server, don't involve the vFense software yet, we're just trying to verify that you can access via ssh from the windows machine, we need to determine for certain which side of client/Server is screwing this up.

If you can access:
Go through the ini and/or config files on the windows installation of vFence and removed any reference to the now defunct password, I'd suggest you leave it blank but reference the documentation.
Conversely there is probably a way to make changes directly into the GUI but I have never heard of vFense prior to beginning this conversation so... take a look and let me know.

How did you solve the password problem from above? Did you map the user "toppatch" to an existing account?

Last edited by dijetlo; 05-27-2014 at 04:41 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help me in mail server installation in ubuntu, postfix installation nidhinvsk General 1 04-13-2011 04:38 AM
java1.5 installation error ubuntu 10.04 server edition uname 2.6.32-23-server tkmsr Linux - Software 6 07-03-2010 03:20 AM
Xen server installation for RHEL 5.3 - AMD server 64bit machine ortalg Linux - Software 1 01-13-2010 03:09 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration