Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bazil2

    Unable to mount Windows share due to error: can't read superblock - any ideas?

    (Elementary user) Can anyone please help with the following ... I need to mount an XP Windows share. In the /etc/fstab I have the following entry, but it does not mount on reboot: //192.150.150.69/import_export /internal/automation/mount cifs username=dave,password=xxxxxxx,_netdev 0 0 I...
  2. bazil2

    Replacing multiple patterns using the replace function in a single command - can it be done?

    Completely brilliant! Thank you so much, I understand, one can simply keep adding 'replace-pairs'.
  3. bazil2

    Replacing multiple patterns using the replace function in a single command - can it be done?

    (Elementary user) Hello Everyone, I would like to replace certain 'forbidden' characters in the values of incoming XML files, namely single quote, double quote and ampersand (I presume < > are not possible due to their use in tags). My command line looks like this and successfully replaces...
  4. bazil2

    Hardcoding a destination path in my backup file script

    Many thanks! I'll investigate that; I think the web server is tomcat, I also noted that there is a secondary .bat nested in this script that I need to investigate. Best regards
  5. bazil2

    Hardcoding a destination path in my backup file script

    ...the script copies the files to an undesirable path, would it be possible to copy the backup files to H:\Backup\ Best regards @echo off REM *************************************************************************REM Program Title: backup.bat REM Code Type : DOS Batch REM Date ...
  6. bazil2

    Silently replacing characters in XML file using sed - can you help?

    (Elementary user) I have a programme that is generating XML files. Sometimes the XML file contains forbidden or undesirable characters in its values; for example: ... <Name>Mr & Mrs Smith</Name> ... <GermanStreet>Straße</GermanStreet> I am looking for a method to change for example the...
  7. bazil2

    Correct procedure for updating java (RHEL 5.9)

    (Elementary user - repost from Linux server) I need to update the version of java on my server: [root@server bin]# java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the...
  8. bazil2

    Correct procedure for updating java (RHEL 5.9)

    (Elementary user) I need to update the version of java on my server: [root@server bin]# java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions...
  9. bazil2

    Help in jailing SSH users

    (Elementary user) The server uses RHEL 5.9 I would like to jail specific users logging in via SSH to their home directory so they can't navigate the server. According to RedHat, one should be able to edit the file /etc/ssh/sshd_config and uses the following syntax: Match Group sshusers...
  10. bazil2

    Can't delete folder due to long path - is there a workaround?

    (Elementary Windows user) I have a folder in the following path that is so long, Windows is unable to delete it using the normal Windows explorer. Example: D:\data\very\long\path\with\many\characters Is it possible to dele it using the command line? Best regards
  11. bazil2

    System volume drive C full - need to extend - can you recommend a suitable software solution?

    Unfortunately the C drive on my server has almost run our of space. I have shrunk the D drive by 71GB, however the Windows 2008 server disk management software does not permit me to extend the C volume. Can anyone recommend an alternative (GUI) solution? Best regards
  12. bazil2

    Forcing HTTP to HTTPS and redirecting specific sub-page visitors to different URL

    ... many thanks, you were absolutely right it was the Apache setting. Many thanks for all your help.
  13. bazil2

    Forcing HTTP to HTTPS and redirecting specific sub-page visitors to different URL

    Many thanks, I tried this to no avail; I restarted Apache and cleared the cache on the browser. Should I try with the full server path? Best regards
  14. bazil2

    Forcing HTTP to HTTPS and redirecting specific sub-page visitors to different URL

    ...HTTPS by means of an entry in the .htaccess file, like this: [root]# more .htaccess RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] In addition to this, I would like visitors to specific subpages to be redirected to a completely different...
  15. bazil2

    Unable to connect two switch using two fibre optic cable without one port forcing to 'disable'.

    Many thnaks for your help! Well basically the idea was to simply connect the two switches and make use of the most bandwidth possible. Last night I experimented with the Smartports settings and I designated these ports as 'Cisco switches'; this resulted in the disabled port becoming active...
  16. bazil2

    Unable to connect two switch using two fibre optic cable without one port forcing to 'disable'.

    (Elementary user) Can anyone please explain the following .... I have connected this switch (Port 50 and Port 51): http://files.engineering.com/getfile.aspx?folder=bfe0764d-7949-448b-b024-fa5788f90f80&file=Picture_404.jpg To this switch (Ports 25 and Port 26): I am connecting using fibre...
  17. bazil2

    Looking for files using -mtime flag - is my syntax suitable?

    Many thanks for the tip! I'm using RedHat 5.9 Best regards
  18. bazil2

    Looking for files using -mtime flag - is my syntax suitable?

    ...1 nobody nobody 1394176 Oct 17 18:00 ReportServerTempDB_backup_201410171800.bak [root@sgi SQL_Backups]# find /my/path/SQL_Backups/ \( -name '*.bak' -o -name '*.txt' \) -mtime +3 -exec ls {} \; This returns nothing. However ... [root@sgi SQL_Backups]# find /my/path/SQL_Backups/ \( -name...
  19. bazil2

    Looking for files using -mtime flag - is my syntax suitable?

    Thank you very much; I see what you mean. The mtime flag +1 only means +1 and not >1 I'll take your advice! Best regards

Part and Inventory Search

Back
Top