Search found 71 matches

by edlentz
2022/05/13 20:08:50
Forum: CentOS 7 - Software Support
Topic: How to run sngrep from a web page
Replies: 2
Views: 1713

Re: How to run sngrep from a web page

TrevorH
You are probably 100% correct. I am just trying to come up with a way tht I can get the info that sngrep provides to a gui. I want to keep users out of the command line as much as possible. I'll keep looking for something that works without compromising the system
Thanks
by edlentz
2022/05/13 18:08:24
Forum: CentOS 7 - Software Support
Topic: How to run sngrep from a web page
Replies: 2
Views: 1713

How to run sngrep from a web page

I am looking for a way to run sngrep from a webpage. I wish not to have to go to the command line. I have tried using a simple php page: <?php //Store the output of the executed command $output1 = exec('sngrep'); //Print the return value echo $output1; echo "<br/>"; ?> All I get is a blank page I ge...
by edlentz
2018/09/28 12:49:21
Forum: CentOS 7 - General Support
Topic: How can I use monit to monitor ntpd
Replies: 2
Views: 2011

Re: How can I use monit to monitor ntpd

Sounds like a better idea. Thanks
by edlentz
2018/09/27 17:47:26
Forum: CentOS 7 - General Support
Topic: How can I use monit to monitor ntpd
Replies: 2
Views: 2011

How can I use monit to monitor ntpd

I am trying to setup Monit to monitor ntpd on my Centos7 system I have the following config for the monit file: #Process to monitor the Time Server check process ntpd with pidfile "/var/run/ntpd.pid" start program = "/etc/init.d/ntpd start" stop program = "/etc/init.d/ntpd stop" if 3 restarts within...
by edlentz
2018/03/31 12:40:41
Forum: CentOS 6 - General Support
Topic: Rsync works from CLI but not PHP script
Replies: 4
Views: 1570

Re: Rsync works from CLI but not PHP script

Thanks I will check that out
by edlentz
2018/03/29 20:26:34
Forum: CentOS 6 - General Support
Topic: Rsync works from CLI but not PHP script
Replies: 4
Views: 1570

Rsync works from CLI but not PHP script

So i have a rsync over ssh setup from one system to another using ssh keys so I can run it without needing to use passwords. Here is the rsync command rsync -avzhe ssh /var/spool/asterisk/backup/ RcyEJtB2@xxx.xxx.xxx.xxx:/home/SystemBackups/backup I can run this all day long from the command line an...
by edlentz
2018/03/23 20:37:21
Forum: CentOS 6 - Software Support
Topic: md5 of a file is different using md5_file
Replies: 1
Views: 1130

md5 of a file is different using md5_file

I am trying to setup a md5 for a file that will change every so often. I need to use php in order to re-write a config file. <?php $dir = opendir("/var/www/html/cq_phones/400"); while (($file = readdir($dir)) !== false) { $filename=rtrim($file,"."); echo $filename; } closedir($dir); $md5file = md5_f...
by edlentz
2018/03/08 14:10:16
Forum: CentOS 6 - Networking Support
Topic: File copy to a windows server over VPN
Replies: 5
Views: 3683

Re: File copy to a windows server over VPN

I think I figured it out. Earlier I edited sshd_config, I looked into ssh_config and sure enough GSSAPIAuthentication was set to yes, changing it to no appears to allow me to use a more obscure user / password
by edlentz
2018/03/08 14:02:15
Forum: CentOS 6 - Networking Support
Topic: File copy to a windows server over VPN
Replies: 5
Views: 3683

Re: File copy to a windows server over VPN

So I figured out alot of things since my last post. I have a Centos6 server in the office with Samba running and sharing an external drive. I found a way to run ssh connections without passwords using an rsa key AND using Rsync to move the files I need from the client to the server share. Voila! it ...
by edlentz
2018/02/24 15:20:55
Forum: CentOS 6 - Networking Support
Topic: File copy to a windows server over VPN
Replies: 5
Views: 3683

Re: File copy to a windows server over VPN

Thanks tunk

I need to be as low impact on the Windows machine as possible. Not my machine and managed by the bank. A share is about all I can get from them for many reasons