Displaying 20 results from an estimated 30000 matches similar to: "question on cut -solved"
2005 Sep 02
6
question on cut
I am trying to use cut to tell me the suffix of a file.
for example: echo /home/silentm/log/file.machine.log | cut -d . -f 1-
I was expecting to get .log or log but I get the entire string echoed back.
doing the opposite gave me what I expected:
echo /home/silentm/log/file.machine.log | cut -d . -f 1
gives me
/home/silentm/log/file
I am trying to find a way to test if the file ends in .log?
2007 Jul 03
2
wine on centos 5 amd 64 and opengl
I am getting the following link error on centos 5 AMD 64 for opengl.
What do I not have installed?
I ran ./configure --x-libraries=/usr/lib --libdir=/usr/lib
only warnings I got was abour FontForge missing.
make depend
make
THanks,
jerry
-----------
make[2]: Leaving directory `/home/silentm/wine-0.9.40/dlls/wtsapi32'
make[2]: Entering directory
2023 Sep 14
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
On Wed, Sep 13, 2023 at 5:20 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> >An issue[1] was already created by asterisk at phreaknet.org and they
> also put
> >a fix up for review and inclusion[2].
>
> >[1] https://github.com/asterisk/asterisk/issues/308
> >[2] https://github.com/asterisk/asterisk/pull/309
>
>
> The change "seems" to be
2014 Oct 23
2
httpd on centos 7
I have read the info on apache 2.4...
I added to the bottom of httpd.conf these lines (and restarted httpd)
-------------------------
<Directory /var/www/html>
# old 2.2 config
# Order Allow,Deny
# Allow from all
AllowOverride None
Require all granted
</Directory>
<Directory /home/silentm/public_html/gifs>
AllowOverride None
Require all granted
</Directory>
2008 Mar 17
4
MeetMe option b
I am running asterisk 1.4.18 trying to use MeetMe and option b.
I am getting permissions denied failed to execute conf-background.agi
on the CLI
lrwxrwxrwx 1 root root 37 Mar 17 10:11 conf-background.agi ->
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :
[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
2011 Dec 26
2
gnome keyring
I am having an issue I have not ran into before...
I set my box to "auto" login by changing the file:
more /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=silentm
TimedLoginEnable=true
TimedLogin=silentm
TimedLoginDelay=0
[security]
[xdmcp]
[greeter]
[chooser]
[debug]
It does auto login - however then when I try to VNC into
2014 Sep 26
2
systemd startup on centos 7
Ok I created my script this morning
[Unit]
Description=Connections
After=network.target
[Service]
Type=notify
ExecStart=/home/silentm/bin/mystart
[Install]
WantedBy=multi-user.target
I put it in the correct directory, I rebooted and I see that
my mystart script runs- programs start up but then
they are killed with signal 15...
Is there something else that allows them to continue to run?
the
2020 Nov 18
3
Help with VirtualBox on CentOS 7
Any Virtualbox on CentOS guru's out there?
I only have 1 VM on my linux host. in the update process to virtualbox
6.1.16 my config was lost. When I run Virtualbox my VM does not show. So I
desire to add it back.
My structure is this.
ls -l /home/silentm/vmware/CentOS\ 64-bit\ LSI/
-rw------- 1 silentm silentm 8684 Aug 13 08:31 CentOS 64-bit LSI.nvram
-rw-r--r-- 1 silentm silentm 0 Feb 27
2008 Apr 11
1
odd error compiling zaptel-1.4.10
CC [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/vpmadt032.o
CC [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/GpakApi.o
CC [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/../voicebus.o
LD [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/wcte12xp.o
2016 May 26
0
Question on 7.2 and weird characters [solved]
On Mon, May 23, 2016 at 3:09 PM, Jerry Geis <geisj at pagestation.com> wrote:
> When I run this command:
> rm /tmp/jerry.txt
> rm: remove regular file ?/tmp/jerry.txt??
>
> I get the a with the carrot on top...
>
> How do I get back to the normal characters ?
>
> echo $TERM
> linux
>
> Thanks,
>
> Jerry
>
thanks for the pointers...
It was in
2017 Feb 07
5
Rebuild gstreamer
Hi all,
I have a need to rebuild the gstreamer and gst-plugins in CentOS 7.
So I found the wiki for rebuilding a source package...
I downloaded the vault.centos.org files, installed them with dependencies.
I did the rpmbuild -ba for each of the four packages. All seemed to go well.
No errors reported.
However - the /usr/bin/gst-inspect* listing shows the files as OLD
ls -l /usr/bin/gst-inspect*
2012 Oct 24
1
Getting 8139cp (1.3) and 8139too (0.9.28) on Centos 5.8
Subject says it all.
How can I get the 1.3 version and 0.9.28
to compile on CentOS 5.8 ???
When I compile the two as modules I get errors.
My Makefile is:
obj-m += 8139cp.o 8139too.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
The errors I get are:
Entering directory
2017 Nov 21
0
samba 4 ad member - idmap = ad for machine accounts [SOLVED]
Hi there,
I am looking for the same solution in my environment. I have a question:
Do you need to manually set up a password for the machine account PC050$ ?
Thanks - Allen
On 11/20/2017 6:12 PM, tomict via samba wrote:
> Well! That does the trick. Thank you VERY much Rowland!
>
>
> Samba - General mailing list wrote
>> The way you have set smb.conf, PC050$ doesn't need a
2017 Nov 20
3
samba 4 ad member - idmap = ad for machine accounts [SOLVED]
Well! That does the trick. Thank you VERY much Rowland!
Samba - General mailing list wrote
> The way you have set smb.conf, PC050$ doesn't need a gidNumber, but it
> does need a uidNumber, so check for one, run this on the Samba DC:
>
> ldbsearch -H /usr/local/samba/private/sam.ldb -b
> 'DC=samdom,DC=example,DC=com' -s sub
>
2012 Jun 04
1
repo dates and times
I am trying to get my kickstart "repo" line to function correctly.
repo --name=Updates --baseurl=http://192.168.1.14/centos/6.2/updates/x86_64/
When I comment the above line my install works, When I uncomment it the
install fails
with a message about dbus package error.
This is my nightly script that runs:
===============
PLACE="mirror.team-cymru.org/CentOS"
mkdir -p
2016 Feb 02
4
Compile error with libpri 1.4.15
I am getting this:
make
gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2
-MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c
pritest.c:50:28: fatal error: dahdi/tonezone.h: No such file or directory
#include <dahdi/tonezone.h>
I am using dahdi-linux-complete-2.11.0+2.11.0
I did "find . | grep timezone.h" from the dahdi root and its not
2018 Mar 29
1
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
Hi Rowland,
> You could try adding something like this near to the top of
> dhcp-dyndns.sh:
>
> TTL=$(cat /etc/dhcp/dhcpd.conf | grep 'max-lease-time' | awk -F ';'
> '{print $1}' | awk '{print $NF}')
>
> Then replace the '3600' with '$TTL'
Users like comments in their config files. Your script:
cat /etc/dhcp/dhcpd.conf |
2011 May 04
1
asterisk 1.4.35 to 1.4.41
Under 1.4.35 I get this message printed MANY times
[May 3 21:41:21] WARNING[21567] chan_sip.c: Asked to transmit frame
type 4, while native formats is 0x1000 (g722)(4096) read/write = 0x1000
(g722)(4096)/0x1000 (g722)(4096)
[May 3 21:41:21] WARNING[21567] chan_sip.c: Asked to transmit frame
type 4, while native formats is 0x1000 (g722)(4096) read/write = 0x1000
(g722)(4096)/0x1000
2011 Apr 04
4
dialplan is not finding my number asterisk 1.8.3
I am calling from a polycom phone into asterisk ( 1105 ) on a PC with a
speaker attached.
When asterisk first starts this works. In fact it works for some time.
Then it just stops with this error on the CLI.
[Apr 4 15:10:21] NOTICE[4357]: chan_sip.c:21358 handle_request_invite:
Call from 'mndemo_to_mediaport105' to extension '1105' rejected because
extension not found in
2020 Jul 09
2
X11 issue on CentOS 8
I have files in /etc/X11/xorg.conf.d
rw-r--r--. 1 silentm silentm 311 Jul 9 13:25 00-keyboard.conf
-rw-r--r--. 1 silentm silentm 328 Jul 9 14:28 01-display.conf
This is my 01-display.conf
# This file goes into /etc/X11/xorg.conf.d
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0