Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.


Remove Advertisements
You do not have permission to access this page when the server is busy!
Please upgrade your membership to support this community and unlock various special privileges like:

  • Access to this website when the server is busy
  • Remove Advertisements
  • Remove PM Limitations & Increase PM Storage
  • Get Priority support
  • Access VIP Forum Sections & Downloads
  • Perform extended searches
  • Option to hide your presents and activity from other users
  • Option to set your own custom user title
  • and Much More!

Results 1 to 2 of 2
  1. #1
    VIP Member RVP2013's Avatar
    Join Date
    Feb 2012
    Location
    cardshare.tv
    Posts
    843
    Rep Power
    3

    Default Script to start|stop|restart multics WITH LOGFILE OUTPUT

    Hello all,

    i made a simple script for starting, stopping and restarting multics with very important option for later "fail2ban" script that i am currently developing; and that is LOG OUTPUT TO A FILE...

    the script itself is very simple, but it requires a little bit of your attention and editing...

    here it goes:

    Instalation instructions:

    1. download and extract attachment below, and send it to your server with Winscp, Filezilla or what ever SFTP client you are currently using, to

    /bin

    or

    /usr/sbin

    2.give it executing attributes (chmod it to 755)

    3.open the script and edit the following lines according to your configuration:

    # Location of MULTICS emu:
    MULTICS_BIN_PATH=/usr/bin

    # EXACT name of MULTICS EMU (BINARY FILE):
    MULTICS_BIN=multics.x32

    # Location of MULTICS configuration file (multics.cfg); /var/etc by default):
    MULTICS_CFG_PATH=/var/etc

    # EXACT name of MULTICS configuration file (multics.cfg by default):
    MULTICS_CFG_NAME=multics.cfg

    4. after finished editing, save changes and exit

    5. stop your multics server manually as you did before

    6. open terminal (putty) and execute the following command:

    multics start

    -you also have these options:

    multics start
    multics stop
    multics restart


    - if your configuration from the begining of the script is correct, you will have a logfile called multics.log on the same place where your multics.cfg is...

    as i said before, this will be very important for those who want to use something like fail2ban which i am working on as we speak, but also for standard fail2ban that you can download directly from repos...

    also very important:

    if you want to use my script, and later on fail2ban script also, you should configure your boot sequence to start multics server also with this script...

    so in /etc/rc.local add this:

    if script is in /bin folder:

    /bin/multics start

    if script is in /usr/sbin folder:

    /usr/sbin/multics start

    Thanks to skyfly10
    Attached Files Attached Files
    Last edited by RVP2013; 26th March 2013 at 07:50 PM.

  2. #2
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Rep Power
    0

    Default

    hello
    thank your RVP2013
    dream800 , 8000 , multics vps , carte csat via


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT. The time now is 01:47 AM.
Powered by vBulletin® Version 4.2.1
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.1
SAT.TV - Linux Satellite TV Support Forums
vBulletin Skin By: PurevB.com