Find the answer to your Linux question:

Search:

Type: Posts; User: Ben Cotton; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,407

    Here's the full output from gcc itime.c: In...

    Here's the full output from gcc


    itime.c: In function ‘itime_’:
    itime.c:36: error: dereferencing pointer to incomplete type
    itime.c:36: error: dereferencing pointer to incomplete type...
  2. Replies
    5
    Views
    2,407

    C function pointer problems

    One of my users is having problems with some C code she needs to compile (below). When gcc tries to compile, it complains about "dereferencing pointer to incomplete type." It's been a while since...
  3. Replies
    12
    Views
    6,264

    It looks like sanlen has downloaded source code...

    It looks like sanlen has downloaded source code for the kernel. Generally, building a kernel from source is something you'd only do if you're very comfortable with Linux. Your best bet is to update...
  4. Replies
    8
    Views
    2,740

    HRO, I guess I missed that in the man page. ...

    HRO, I guess I missed that in the man page. Thanks for pointing it out.
  5. Replies
    1
    Views
    2,264

    The initrd.img file is a cpio archive. So you...

    The initrd.img file is a cpio archive. So you could do something like:

    cat initrd-<version>.img | cpio -idv

    This would unpack everything into your current directory. It's not quite as clean...
  6. Replies
    8
    Views
    2,740

    rsync, I believe, will copy the whole file if it...

    rsync, I believe, will copy the whole file if it has changed. Since we're talking about one large file, rsync won't help in this case. What might work better is a version control system like git or...
  7. Replies
    5
    Views
    2,373

    No, RedHat switched to yum (with some RHN...

    No, RedHat switched to yum (with some RHN plugins) for RHEL5 and beyond. The most recent version of OpenOffice available through RHEL channels is 2.3.0. RedHat packages are generally well behind...
  8. Replies
    2
    Views
    25,280

    NRPE cannot complete SSL handshake

    I've set up NRPE on my syslog server so that I can make sure it is up and keep an eye on disk resources. However, the checks always fail with " CHECK_NRPE: Error - Could not complete SSL handshake."...
  9. Replies
    6
    Views
    6,778

    Maybe we're approaching this the wrong way. ...

    Maybe we're approaching this the wrong way. Could you use something like OpenBox or VMWare server to set up virtual machines for the students to use. That way they can't break the real box but you...
  10. Replies
    6
    Views
    6,778

    This is the real problem. The first step is to...

    This is the real problem. The first step is to find out what root privileges are needed for, and then implement a solution around those needs.
  11. You could use the --nodeps option to have rpm...

    You could use the --nodeps option to have rpm skip the dependency checks. This is normally not suggested because it could result in broken installs, but in this case, I think it's a good idea.
  12. Replies
    12
    Views
    1,533

    That depends on if you care about the files that...

    That depends on if you care about the files that get skipped. If not, I wouldn't bother. If you want to make sure those files get backed up, then go ahead an run it as root.
  13. Replies
    12
    Views
    1,533

    It might, I've not tried it that way before. At...

    It might, I've not tried it that way before. At any rate, it would be fairly pointless. You should add an --exclude to your rsync command (something like --exclude="/backup" perhaps. See the rsync...
  14. Replies
    12
    Views
    1,533

    I believe you need to use the mount point (e.g....

    I believe you need to use the mount point (e.g. /archive) and not the partition. I've not tested it the way you suggested, but I don't think it would work as expected. You can add some flexibility...
  15. Replies
    12
    Views
    1,533

    The rsync command is your friend in this case. ...

    The rsync command is your friend in this case. I'll share with you the backup script that I run to make a backup of my /archive directory. (slightly modified to be more generic)


    #!/bin/csh -f
    ...
  16. I'd feel more comfortable using visudo than...

    I'd feel more comfortable using visudo than echoing to sudoers. visudo does some syntax checking before it writes /etc/sudoers, allowing you to catch (most) mistakes without breaking things. Plus,...
  17. Replies
    11
    Views
    44,524

    Okay, now I think I see what you're getting at. ...

    Okay, now I think I see what you're getting at. You want to run a name server for your local hosts but also resolve outside hosts. Fortunately, most DNS servers are configured to do exactly that. ...
  18. Replies
    11
    Views
    44,524

    Ah, that's a little different. I'm not entirely...

    Ah, that's a little different. I'm not entirely sure that DNS works that way. Why do you need to use both servers simultaneously?
  19. Replies
    11
    Views
    44,524

    You just need to list multiple nameservers in...

    You just need to list multiple nameservers in your /etc/resolv.conf file. See the resolv.conf man page (man 5 resolv.conf) for more information on configuring the resolv.conf file.
  20. Can you post the output from a cron run and a...

    Can you post the output from a cron run and a manual run? I'm guessing the cron job runs under the same account you use when you run it manually. There's probably a difference in the environment...
  21. Replies
    9
    Views
    6,496

    In my opinion, you definitely still need a...

    In my opinion, you definitely still need a firewall. Not all services support tcpwrappers, which means you can't use hosts.(allow|deny) to control access. If you're only running services that use...
  22. Replies
    2
    Views
    756

    If you write your CGI in Perl, you can use the...

    If you write your CGI in Perl, you can use the CGI.pm module: The Fool's Guide to CGI.pm, the Perl module for CGI scripting

    This makes grabbing the form values much simpler.
  23. Replies
    9
    Views
    13,756

    Do you mean something like tcpdump...

    Do you mean something like tcpdump?
  24. Thread: ifconfig

    by Ben Cotton
    Replies
    4
    Views
    3,031

    Google says: net-tools | freshmeat.net...

    Google says:

    net-tools | freshmeat.net
  25. Replies
    2
    Views
    2,092

    You'll need to set the subnet to the subnet you...

    You'll need to set the subnet to the subnet you want to use, not 0.0.0.0. Can you share your dhcpd.conf?
Results 1 to 25 of 83
Page 1 of 4 1 2 3 4