1833832 Members
2029 Online
110063 Solutions
New Discussion

Bastille error

 
sudhir_gimonkar
Occasional Contributor

Bastille error

Hi,
I have installed Bastille ( B.02.01.01 )on HPUX 11.11.
When I run bastille -b I am getting following error
ERROR: A fatal error has occurred. Not all of the questions
that pertain to this system have been answered. Rerun
the interactive portion of bastille on this system.
MODULE.QUESTION=HP_UX.stack_execute
9 REPLIES 9
Dave Hutton
Honored Contributor

Re: Bastille error

-b is assuming you created a batch file file with all the answers.

-b Run Bastille in batch-mode. This option will take the
answers that were created interactively with the user
and apply them to the machine.


If you did do this, then it doesn't appear the batchfile is complete at the specific module of hp-ux.stack_execute.
Court Campbell
Honored Contributor

Re: Bastille error

You did not provide an answer to the question in the HP_UX module about stack execution. I am not sure which question it is, but if rerun bastille and go to the HP_UX module you can go through the questions again. From my little experience with bastille, it will not work unless you answer all the questions.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
sudhir_gimonkar
Occasional Contributor

Re: Bastille error

Hi Dave/Court,
Just running Bastille I am getting following error
# /opt/sec_mgmt/bastille/bin/bastille

NOTE: $DISPLAY not set. Attempting Curses interface.

NOTE: Using Curses user interface module.
NOTE: Only displaying questions relevant to the current configuration.

ERROR: Could not load the 'Curses.pm' interface module.
This may be due to an invalid $DISPLAY setting,
or the module not being visible to Perl.

I had copied /etc/opt/sec_mgmt/bastille/config from another server
Dave Hutton
Honored Contributor

Re: Bastille error

It's an XWindows/Motiff interface so you need to export your display to your pc or machine that is running an X server.
sudhir_gimonkar
Occasional Contributor

Re: Bastille error

Hi Dave,
After export my display ( export DISPLAY=:0.0 ) I am getting following error

# /opt/sec_mgmt/bastille/bin/bastille

NOTE: Valid display found; defaulting to Tk (X) interface.
NOTE: Using Tk user interface module.
NOTE: Only displaying questions relevant to the current configuration.
NOTE: Bastille is scanning the system configuration...

NOTE: Existing config file found. Populating answers...
couldn't connect to display "10.22.38.137:0.0" at /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/Tk/MainWindow.pm line 55.
MainWindow->new() at /opt/sec_mgmt/bastille/lib/Bastille_Tk.pm line 167
Dave Hutton
Honored Contributor

Re: Bastille error

Do you have an XWindows server (Hummingbird Exceed, and theres a few others if you do a search here) running on your machine?
sudhir_gimonkar
Occasional Contributor

Re: Bastille error

Yes, I have exceed installed on my machine
Dave Hutton
Honored Contributor

Re: Bastille error

couldn't connect to display "10.22.38.137:0.0"

Is throwing me. Usually thats an indication that it can't get to an Xserver.

Any chance the conf file you copied over is for a different/wrong version?

Perl is where bastille expects?
Keith Buck
Respected Contributor

Re: Bastille error

I usually use something like "xclock" to test if the X display is working. There are several possibilities:

1. ip address is wrong
2. your xserver is not running (even if installed)
3. your xserver is not configured to allow connections from the system running the Bastille GUI

We also recommend running the Bastille GUI through an ssh tunnel for improved security (confidentiality, integrity). The putty client is very good and allows X11 forwarding You still need your xserver (Hummingbird, exceed, etc.) to be running.

Hope that helps.

-Keith