Results 1 to 4 of 4

Thread: Script to start|stop|restart multics WITH LOGFILE OUTPUT

  1. #1
    Status
    Offline
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014
    Location
    -=UAE=-
    Interests
    CardSharing
    Posts
    1,895

    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


    best regards
    Attached Files Attached Files

  2. #2
    Status
    Offline
    ImtiazKhan's Avatar
    GS VIP MEMBER
    Join Date
    May 2014
    Posts
    19
    Quote Originally Posted by geosharing
    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


    best regards
    great fourum great work

  3. #3
    Status
    Offline
    dreamboxita's Avatar
    Newbies Users
    Join Date
    May 2014
    Posts
    4
    great best work

  4. #4
    Status
    Offline
    saket's Avatar
    Newbies Users
    Join Date
    May 2014
    Posts
    2
    best work ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [NEW] Multics Script ( Start - Stop - Restart )
    By Geosharing in forum Multics
    Replies: 1
    Last Post: 08-25-2015, 07:59 AM
  2. Script to start|stop|restart multics WITH LOGFILE OUTPUT
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 07-12-2015, 06:20 PM
  3. Script to restart multics every 24 hours
    By Geosharing in forum Multics
    Replies: 0
    Last Post: 10-03-2014, 09:22 AM
  4. Script to start MultiCS when goes off.
    By Geosharing in forum Multics
    Replies: 0
    Last Post: 09-18-2014, 03:11 PM
  5. Script to start MultiCS when goes off.
    By Geosharing in forum Multics
    Replies: 3
    Last Post: 05-22-2014, 05:18 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
RSS RSS 2.0 XML MAP HTML TAGS

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.

petites annonces