Yes, I know monit, but I think monit will not …

Comment on Check and Restart Apache if it is malfunctioning (not returning HTML content) shell script by admin.

Yes, I know monit, but I think monit will not restart Apache if the apache server is running but not returning any content to clients?
Did you have a case like mine and used monit to solve it?

best

admin Also Commented

Check and Restart Apache if it is malfunctioning (not returning HTML content) shell script
Hi Justin,

No unfrotunately, yet I didn’t got it. I will further investigate and watch it closely. If I got the issue I will drop a comment here.

Best
Georgi


Check and Restart Apache if it is malfunctioning (not returning HTML content) shell script
Hi,

Thx a lot for the info, maybe I will give the monit with return code.
By the way, the same server, where I’ve placed this apache check and restart script has been overloaded today. The reason was munin was doing some things in the background completely stoning the server. Now I’ve disabled the munin-node. Will monitor now to see if the strange Apache issue re-occur.

Will be seeing you around.

Best
Georgi


Recent Comments by admin

MobaXTerm: A good gnome-terminal like tabbed SSH client for Windows / Windows Putty Tabs Alternative

To understand how supreme is MobaXterm and how much it has evolved over the few years, just install something like SuperPutty and see the difference. Superputty even though free and a kinda of tabbed terminal as a final alternative does the job but it is like a screwdriver compared to a whole set of fine tuned instruments box.


Windows 7 how to configure Separator delimiter Divider between Pinned and Running Opened programs on Taskbar Classic theme pane

Something I forgot to mention is my opinion, that new modern 'beautiful' default interface in Windows 7 / Windows 8 and Windows 10 has been created for the only purpose to play with our mind (addict us) even more to the Interface and even wastes us more time on the work with the interface. I believe this set of Windows customization is so nice that it should be introduced as a standard Theme.


How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials

♦ Also, If you need to join a Linux Samba Server to a Windows Domain from the Windows domain using the net command run:

$ net join -w WINDOWS-DOMAIN -s ' win-server' -U Administrator%password

♦ You can then list the users in the Windows domain using wbinfo command

$ wbinfo -u


How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials

♦ Something else I forgot to mention in article, If it happens that some samba pass credential has been lost it is useful to change samba user password with command:

 smbpasswd smbusername

♦ To create a samba entry for an existing system user, use the pdbedit command:

if it is needded to add a complete new unexisting user to the samba users do:

 smbserver:~# pdbedit -a NewSmbUserName

By default samba server password database (if not changed to another location in smb.conf is stored on server) under:

/var/lib/samba/private/passdb.tdb


How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials
One small hint in case if you have no password protection for a share and want to avoid the annoying pasword samba prompt the way to do it is like so:  
smbclient -U% //192.168.1.2/My_Folder

Once connected you can use Linux commands to list and travel between files.

File transfer with smbclient is also possible by  using get, put, mget, and mput commands.


Share this on:

No Responses to “Yes, I know monit, but I think monit will not …”

  1. Mr WordPress says:
    Unknown Unknown Unknown Unknown

    Hi, this is a comment.
    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.

    View CommentView Comment