Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
-
ajthomas
- Lurker
- Posts: 1
- Liked: never
- Joined: Oct 26, 2022 5:43 am
- Full Name: Andrew Thomas
-
Contact:
Post
by ajthomas »
this post
I downloaded vee-mail from github. It worked great. In case anyone wants to use this on Solaris, the following changes worked for me on Solaris 11.4:
Code: Select all
Change "awk" to "gawk"
Change "date" to "gdate"
18c18
< STARTEDFROM=$(ps -p $PPID -hco cmd)
---
> STARTEDFROM=$(ps -p $PPID --no-headers -co cmd)
235c235
< ERRLOG=$($VC session log --id $SESSID|egrep 'error|warn'|sed ':a;N;$!ba;s/\n/<br>/g'|sed -e "s/ /\ /g")
---
> ERRLOG=$($VC session log --id $SESSID|egrep 'error|warn'|sed -e ':a' -e 'N;$!ba' -e 's/\n/ /g'|sed -e "s/ /\ /g")
Users browsing this forum: No registered users and 11 guests