Copy & paste
by Chris Norman
Hi people,
How do I copy & paste from the command line? So I can copy commands from
documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Cheers,
Chris Norman
<!-- chris.norman4(a)ntlworld.com -->
18 years, 5 months
Named Virtual Host not working
by Ed Landaveri
Gentlemen & ladies,
My named virtual host (second one) is not working. Only the default responds.This is my httpd.conf:
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
<VirtualHost *:80>
ServerAdmin root@localhost
ServerName mysite.org
DocumentRoot /home/www/site1
ScriptAlias /cgi-bin/ "/home/www/cgi-bin/"
</VirtualHost>
<VirtualHost *:80>
ServerName myothersite.net
DocumentRoot /home/www/site2
ScriptAlias /cgi-bin/ "/home/www/cgi-bin/"
</VirtualHost>
[root@server ~]# httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443 1.2.3.4 (/etc/httpd/conf.d/ssl.conf:86)
*:80 is a NameVirtualHost
default server mysite.org (/etc/httpd/conf/httpd.conf:961)
port 80 namevhost mysite.org (/etc/httpd/conf/httpd.conf:961)
port 80 namevhost myothersite.org (/etc/httpd/conf/httpd.conf:968)
Syntax OK
This is my /var/log/httpd/error.log:
[Fri Jan 27 16:23:06 2006] [notice] LDAP: SSL support unavailable
[Fri Jan 27 16:23:06 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Jan 27 16:23:07 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Fri Jan 27 16:24:24 2006] [notice] SIGHUP received. Attempting to restart
[Fri Jan 27 16:24:24 2006] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 27 16:24:24 2006] [notice] Digest: done
[Fri Jan 27 16:24:24 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Fri Jan 27 16:24:24 2006] [notice] LDAP: SSL support unavailable
[Fri Jan 27 16:24:24 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Jan 27 16:24:25 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
What I'm doing wrong? I've tried all the combinations with IP instead of * but give me errors. Using *:80 I get a nice httpd -S results. Please send me any suggestions. Thanks a lot
Eddie
---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
18 years, 5 months
Compile Problem
by CodeHeads
I have a problem and I cannot find anything on google. :(
I am trying to compile ezmlm browse. and I am getting the following
error:
/usr/bin/ld: cannot find -lbg-sysdeps
collect 2: ld returned 1 exit status
--
Best regards,
~WILL~
Public Key: 0x21715193
Key: http://code-heads.com/keys/ch.asc
Linux Registered User: 406084
18 years, 5 months
Anyone got all of ATI 200M working on FC4 64Bit
by Josh Smith
I have a winbook a215 laptop running FC4 (2.6.14). ATI Radeon Xpress
200m video. I can't get the ATI drivers to install, and now I can't even
get the Vesa drivers to give me the full resolution on the screen.
The monitor supports up to 1280x800. I have set it that way in the
config and verified that mode shows up in xorg.conf. But when I go to
configure desktop and select that resolution, it won't let me. ONly
offers up to 1024x768......
This is the only part that isn't working right, but I am struggling. Any
help is appreciated.
18 years, 5 months
GGV in Fedora Core 4
by Nimit Dhulekar
Hello
I have just installed Fedora Core 4 on my PC. But it doesnt have GGV. Where can one find the rpm for GGV? Please respond soon.
Nimit
---------------------------------
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail
18 years, 5 months
Fedora Core 3 Transferred to Fedora Legacy
by Bill Nottingham
With the release of Fedora Core 5 Test 2, the Fedora Core Steering
Committee would like to announce the transfer of Fedora Core 3 to
the Fedora Legacy Project.
For more information on the Fedora Legacy Project, or if you wish
to join the team, please see http://fedoralegacy.org/.
18 years, 5 months
RE: /etc/syslog.conf in FC4
by Styma, Robert E (Robert)
Never mind my previous post. Alexander's solution
will work correctly.
Bob Styma
18 years, 5 months
RE: /etc/syslog.conf in FC4
by Styma, Robert E (Robert)
>
> I have been looking at the contents of /var/log/messages
> and the /etc/syslog.conf file and there appears to
> be a problem in my FC4 installation. I am using the
> default /etc/syslog.conf which was installed with the
> system (clean install - not upgrade).
>
>
> >From /etc/syslog.conf
> ...
> # Log anything (except mail) of level info or higher.
> # Don't log private authentication messages!
> *.info;mail.none;authpriv.none;cron.none
> /var/log/messages
>
> ...
>
> # Log cron stuff
> cron.*
> /var/log/cron
>
> >From the syslog.conf man page:
>
> In addition to the above mentioned names the syslogd(8)
> understands the following extensions: An asterisk (''*'')
> stands for
> all facilities or all priorities, depending on where it is
> used (before or after the period). The keyword none stands for no
> priority of the given facility.
>
> ...
> Multiple selectors may be specified for a single action using
> the semicolon ('';'') separator. Remember that each selector in
> the selector field is capable to overwrite the preceding
> ones. Using this behavior you can exclude some priorities from the
> pattern.
>
> --------------------------------
> As I read the man page, the last match, wins and 'none' means
> don't log.
> As can be seen in the following excerpt from
> /var/log/messages, cron is logging
> a lot of stuff.
> I am looking for a suggestion as to what to change to supress
> cron writing
> to /var/log/messages.
>
> --------------------------------
>
>
> [styma8]: tail /var/log/messages
> Jan 27 12:45:01 styma8 crond(pam_unix)[14334]: session closed
> for user root
> Jan 27 12:46:01 styma8 rpc.mountd: authenticated unmount
> request from styma9:934 for /home (/home)
> Jan 27 13:00:02 styma8 crond(pam_unix)[14410]: session opened
> for user root by (uid=0)
> Jan 27 13:00:02 styma8 crond(pam_unix)[14410]: session closed
> for user root
> Jan 27 13:01:01 styma8 crond(pam_unix)[14427]: session opened
> for user root by (uid=0)
> Jan 27 13:01:01 styma8 crond(pam_unix)[14427]: session closed
> for user root
> Jan 27 13:05:01 styma8 crond(pam_unix)[14448]: session opened
> for user root by (uid=0)
> Jan 27 13:05:02 styma8 crond(pam_unix)[14448]: session closed
> for user root
> Jan 27 13:15:01 styma8 crond(pam_unix)[21672]: session opened
> for user root by (uid=0)
> Jan 27 13:15:01 styma8 crond(pam_unix)[21672]: session closed
> for user root
>
> In addition to the above mentioned names the
> syslogd(8) understands the following extensions: An asterisk
> (''*'') stands for
> all facilities or all priorities, depending on where
> it is used (before or after the period). The keyword none
> stands for no
> priority of the given facility.
>
>
> Multiple selectors may be specified for a single
> action using the semicolon ('';'') separator. Remember that
> each selector in
> the selector field is capable to overwrite the
> preceding ones. Using this behavior you can exclude some
> priorities from the
> pattern.
>
>
I believe I fixed it.
I changed the default syslog.conf line to read:
*.info;mail.none;authpriv.none;cron.none;pam_unix.none /var/log/messages
and added a line.
pam_unix.* /var/log/pam_unix.log
I also added a /etc/logrotate.d file named pam_unix
/var/log/pam_unix.log {
copytruncate
weekly
rotate 52
compress
missingok
}
Just one more thing to remember to take care of when I
switch to FC5. :-|
Bob STyma
18 years, 5 months
/etc/syslog.conf in FC4
by Styma, Robert E (Robert)
I have been looking at the contents of /var/log/messages
and the /etc/syslog.conf file and there appears to
be a problem in my FC4 installation. I am using the
default /etc/syslog.conf which was installed with the
system (clean install - not upgrade).
>From /etc/syslog.conf
...
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
...
# Log cron stuff
cron.* /var/log/cron
>From the syslog.conf man page:
In addition to the above mentioned names the syslogd(8) understands the following extensions: An asterisk (''*'') stands for
all facilities or all priorities, depending on where it is used (before or after the period). The keyword none stands for no
priority of the given facility.
...
Multiple selectors may be specified for a single action using the semicolon ('';'') separator. Remember that each selector in
the selector field is capable to overwrite the preceding ones. Using this behavior you can exclude some priorities from the
pattern.
--------------------------------
As I read the man page, the last match, wins and 'none' means don't log.
As can be seen in the following excerpt from /var/log/messages, cron is logging
a lot of stuff.
I am looking for a suggestion as to what to change to supress cron writing
to /var/log/messages.
--------------------------------
[styma8]: tail /var/log/messages
Jan 27 12:45:01 styma8 crond(pam_unix)[14334]: session closed for user root
Jan 27 12:46:01 styma8 rpc.mountd: authenticated unmount request from styma9:934 for /home (/home)
Jan 27 13:00:02 styma8 crond(pam_unix)[14410]: session opened for user root by (uid=0)
Jan 27 13:00:02 styma8 crond(pam_unix)[14410]: session closed for user root
Jan 27 13:01:01 styma8 crond(pam_unix)[14427]: session opened for user root by (uid=0)
Jan 27 13:01:01 styma8 crond(pam_unix)[14427]: session closed for user root
Jan 27 13:05:01 styma8 crond(pam_unix)[14448]: session opened for user root by (uid=0)
Jan 27 13:05:02 styma8 crond(pam_unix)[14448]: session closed for user root
Jan 27 13:15:01 styma8 crond(pam_unix)[21672]: session opened for user root by (uid=0)
Jan 27 13:15:01 styma8 crond(pam_unix)[21672]: session closed for user root
In addition to the above mentioned names the syslogd(8) understands the following extensions: An asterisk (''*'') stands for
all facilities or all priorities, depending on where it is used (before or after the period). The keyword none stands for no
priority of the given facility.
Multiple selectors may be specified for a single action using the semicolon ('';'') separator. Remember that each selector in
the selector field is capable to overwrite the preceding ones. Using this behavior you can exclude some priorities from the
pattern.
Robert E. Styma
Principal Engineer (DMTS)
Lucent Technologies, Phoenix
Email: stymar(a)lucent.com / styma(a)swlink.net
Phone: 623-582-7323 Cell: 602-478-0114
Company: http://www.lucent.com
Personal: http://www.swlink.net/~styma
18 years, 5 months
Problems with mutt in fc2
by bsnottum@hkskole.no
Hello!
I am running an fc2 server with samba, sendmail etc. It works as i
file-server at my school.
I have quite a few cron-jobs that sends out messages to my e-mail as to if
they were succefull or not.
Suddenly today, mutt stopped sending out the messages. I get this error
message:
"Error sending message, child exited 71 (Operating system error.).
Could not send the message."
I have not changed any configuration on the server at all! It worked this
morning, but now i is not!
Can anyone help me with this?
Tanks!
Bjorn
18 years, 5 months